4 Jan
2010
4 Jan
'10
10:41 a.m.
Doesn’t anyone have any ideas? Did anyone receive this mail?
Best regards and a happy new year ;-)
________________________________
From: Nicola Michael Gutberlet [mailto:nicola.gutberlet@hhi.fraunhofer.de] Sent: 15 December 2009 17:28 To: 'boost-users@lists.boost.org' Subject: RE: [asio] Sending large packages
Some testing showed that the maximum package (load) size of boost::asio::write/read() for a TCP socket seems to be 1007 kB
I guess it's not an asio limitation, but the OS one - you just exceeded the maximum message size for the underlying protocol. On windows you can use SO_MAX_MSG_SIZE socket option to get the maximum size.