--- gvpe/src/sockinfo.C 2011/12/17 22:05:34 1.26 +++ gvpe/src/sockinfo.C 2012/01/17 21:25:50 1.27 @@ -115,6 +115,12 @@ return hostport; } +bool +sockinfo::valid () const +{ + return (prot & THISNODE->protocols) && host; +} + sockinfo::operator const char *() const { in_addr ia = { host };