reduce IPC buffer size to be less than typical Ethernet MTU after accounting for TCP overhead

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-01-14 21:07:17 +00:00
parent f00204d341
commit ed491736fa

View File

@@ -188,7 +188,7 @@ public:
wxIPCSocketStreams(wxSocketBase& sock)
: m_socketStream(sock),
#ifdef USE_BUFFER
m_bufferedOut(m_socketStream, 1500),
m_bufferedOut(m_socketStream, 1488),
#else
m_bufferedOut(m_socketStream),
#endif