--- gvpe/src/sockinfo.C 2011/03/24 21:52:49 1.25 +++ gvpe/src/sockinfo.C 2012/01/17 21:38:11 1.28 @@ -115,6 +115,12 @@ return hostport; } +bool +sockinfo::valid () const +{ + return (prot & THISNODE->protocols) && host; +} + sockinfo::operator const char *() const { in_addr ia = { host };