|
|
@ -64,7 +64,6 @@ private:
|
|
|
|
|
|
|
|
|
|
|
|
//start--------------设定发送超时---------------------
|
|
|
|
//start--------------设定发送超时---------------------
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
//virtual int Send(const void* lpBuf, int nBufLen, int nFlags = 0) override; //重写 加入超时
|
|
|
|
|
|
|
|
virtual BOOL Connect(LPCTSTR lpszHostAddress, UINT nHostPort); //重写 加入超时
|
|
|
|
virtual BOOL Connect(LPCTSTR lpszHostAddress, UINT nHostPort); //重写 加入超时
|
|
|
|
BOOL SetTimeOut(UINT uTimeOut = 500);//ms级延时
|
|
|
|
BOOL SetTimeOut(UINT uTimeOut = 500);//ms级延时
|
|
|
|
BOOL KillTimeOut();
|
|
|
|
BOOL KillTimeOut();
|
|
|
|