virtual void Close() = 0;
virtual void Shutdown();
+ void SetInitialSocketBuffers(int recv, int send)
+ {
+ m_initialRecvBufferSize = recv;
+ m_initialSendBufferSize = send;
+ }
+
// notify m_wxsocket about the given socket event by calling its (inaptly
// named) OnRequest() method
void NotifyOnStateChange(GSocketEvent event);
GSocketError SetSockOpt(int level, int optname,
const void *optval, int optlen);
- void SetInitialSocketBuffers(int recv, int send)
- {
- m_initialRecvBufferSize = recv;
- m_initialSendBufferSize = send;
- }
-
protected:
GSocketError Input_Timeout();
GSocketError Output_Timeout();
void Notify(bool flag);
void Detected_Read();
void Detected_Write();
- void SetInitialSocketBuffers(int recv, int send)
- {
- m_initialRecvBufferSize = recv;
- m_initialSendBufferSize = send;
- }
protected:
//enable or disable event callback using gsocket gui callback table