#ifndef sCommand_h #define sCommand_h #include "sSocket.h" #include "misc.h" class sCommand:public sSocket { private: const char *m_pEOL; int auth; char *user; char *pass; // FILE *file; public: void readWork(void) { } bool WriteString( const char* pStr ); static unsigned int count; sCommand (class cSocket *fd, struct in_addr, uint16_t PORT); virtual ~sCommand (); void Work (void) { } virtual int doRead_high (void); virtual bool canSend (void) const { return false; } virtual bool canWork (void) const { return false; } static const char* Execute (const char *cmd); }; // vim:fdm=marker #endif