--- gvpe/src/sockinfo.h 2003/04/05 02:32:40 1.4 +++ gvpe/src/sockinfo.h 2003/04/07 01:12:56 1.6 @@ -37,6 +37,11 @@ void set (const sockaddr_in *sa, u8 prot_); void set (const conf_node *conf, u8 prot_); + void set (const char *hostname, u16 port_, u8 prot_); + + // return the supported protocols + u8 supported_protocols (conf_node *conf = 0); + bool upgrade_protocol (u8 prot_, conf_node *conf = 0); operator const char *() const;