X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22b6de6a70900550b5411f14fffc9d48adbbf222..15f7c30516facfb272fc116aec4d3f9c3a9de085:/include/wx/msw/gsockmsw.h diff --git a/include/wx/msw/gsockmsw.h b/include/wx/msw/gsockmsw.h index 720a156b52..f7970f6ffd 100644 --- a/include/wx/msw/gsockmsw.h +++ b/include/wx/msw/gsockmsw.h @@ -62,8 +62,6 @@ public: GAddress *GetPeer(); GSocketError SetServer(); GSocket *WaitConnection(); - // not used under MSW - void Notify(bool WXUNUSED(enable)) { } bool SetReusable(); bool SetBroadcast(); bool DontDoBind(); @@ -82,6 +80,13 @@ public: 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(); @@ -91,6 +96,8 @@ protected: 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: