]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckipc.cpp
no real change: put event handlers together at the end of the file
[wxWidgets.git] / src / common / sckipc.cpp
index 5658e064b252c727273eccf229545b614b32db68..0aed548807c1c1d39fd73548b459183eb4965679 100644 (file)
@@ -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, 1500),
+          m_bufferedOut(m_socketStream, 1448),
 #else
           m_bufferedOut(m_socketStream),
 #endif