--- projects/cms/source/host/c++/SmallNet.h 2001/02/26 14:55:34 1.3 +++ projects/cms/source/host/c++/SmallNet.h 2001/03/27 00:05:08 1.5 @@ -1,6 +1,7 @@ #include #include #include "socket++-1.10/sockinet.h" +#include "SubNet.h" using std::string; @@ -12,20 +13,17 @@ class SmallNet { // heartbeat section int connectHeartBeat(string host, int port); string heartBeatSend(string text); - void closeHeartBeatConnection(); + void closeHeartBeatConnection(); // config section int connectConfig(string host,int port); string configSend(string text); void closeConfigConnection(); // misc stuff void sendUPDPacket( string host, int port, string message ); - string getIPfromHost(string hostname); private: - int debug; // print debug info? + int debug; // print debug info? iosockinet * socket; // TCP socket - - - - + SubNet * ssocket; // TCP/UDP Socket + }; // class \ No newline at end of file