#ifndef sSocket_h #define sSocket_h #include "cSocket.h" #include "cygwin.h" class sSocket: public cSocket { private: public: static int count; class sPacket *READ; uint32_t dlCount,ulCount; private:bool Connect (struct in_addr ip, uint16_t port); public: // class sPacket *newSend (unsigned char cmd, size_t len); virtual int doRead_high (void); // deprec virtual bool canWork (void); // deprec sSocket (class cSocket *socket); // deprec sSocket (in_addr ip, uint16_t port); // deprec virtual ~sSocket (void); }; #endif