GAddress *GetPeer();
GSocketError SetServer();
GSocket *WaitConnection();
- // not used under MSW
- void Notify(bool WXUNUSED(enable)) { }
bool SetReusable();
bool SetBroadcast();
bool DontDoBind();
void *optval, int *optlen);
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();
int Send_Stream(const char *buffer, int size);
int Send_Dgram(const char *buffer, int size);
bool m_ok;
+ int m_initialRecvBufferSize;
+ int m_initialSendBufferSize;
/* TODO: Make these protected */
public: