From: Vadim Zeitlin Date: Sun, 18 Jan 2009 23:00:06 +0000 (+0000) Subject: use correct value for MTU - sizeof(TCP header) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1f73290186ebc29e2b90903c2117ec02480b8c71 use correct value for MTU - sizeof(TCP header) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/sckipc.cpp b/src/common/sckipc.cpp index 2e860b6d79..0aed548807 100644 --- a/src/common/sckipc.cpp +++ b/src/common/sckipc.cpp @@ -184,11 +184,11 @@ public: // ctor initializes all the streams on top of the given socket // // note that we use a bigger than default buffer size which matches the - // typical Ethernet MTU + // typical Ethernet MTU (minus TCP header overhead) wxIPCSocketStreams(wxSocketBase& sock) : m_socketStream(sock), #ifdef USE_BUFFER - m_bufferedOut(m_socketStream, 1488), + m_bufferedOut(m_socketStream, 1448), #else m_bufferedOut(m_socketStream), #endif