--- gvpe/src/sockinfo.h 2003/04/05 17:54:22 1.5 +++ gvpe/src/sockinfo.h 2003/10/14 19:06:04 1.7 @@ -21,8 +21,7 @@ #ifndef VPE_SOCKINFO_H__ #define VPE_SOCKINFO_H__ -#include -#include +#include "netcompat.h" #include "conf.h" @@ -37,6 +36,7 @@ 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);