--- projects/cms/source/host/c++/SmallNet.h 2001/02/26 14:55:34 1.3 +++ projects/cms/source/host/c++/SmallNet.h 2001/03/05 12:39:43 1.4 @@ -1,6 +1,7 @@ #include #include #include "socket++-1.10/sockinet.h" +#include "SubNet.h" using std::string; @@ -20,10 +21,13 @@ class SmallNet { // misc stuff void sendUPDPacket( string host, int port, string message ); string getIPfromHost(string hostname); + string getHostName(); + string getHostIP(); private: int debug; // print debug info? iosockinet * socket; // TCP socket + SubNet * ssocket; // TCP/UDP Socket