--- innwebd/base.h 2004/07/04 06:45:23 1.3 +++ innwebd/base.h 2005/02/26 16:10:25 1.7 @@ -1,7 +1,7 @@ /*******************************************************/ /* */ /* LeafOK Innbbsd */ -/* Copyright (C) LeafOK.com, 2003-2004 */ +/* Copyright (C) LeafOK.com, 2003-2005 */ /* */ /* Programmed by Leaf */ /* E-mail:leaflet@leafok.com QQ:6049044 */ @@ -73,14 +73,13 @@ protected: virtual int s_connect(const char* hostname, unsigned int port) = 0; virtual int s_close(void) = 0; int s_send(const char* in_str, bool auto_endl = true); - int s_receive(CString& out_str, const char* end_str="\r\n"); - int s_exec(const char* in_str, CString& out_str, const char* end_str="\r\n"); + int s_receive(CString& out_str, char end_str[] = "\r"); + int s_exec(const char* in_str, CString& out_str, char end_str[] = "\r"); virtual bool IsShutdown(void); virtual int Shutdown(void); virtual int Startup(void); virtual int w_call() = 0; private: - HANDLE hThread; static DWORD Thread(LPVOID pParam); public: bool IsThreadActive(void);