Some testing showed that the maximum package (load) size of boost::asio::write/read() for a TCP socket seems to be 1007 kB


From: Nicola Michael Gutberlet [mailto:nicola.gutberlet@hhi.fraunhofer.de]
Sent: 15 December 2009 17:11
To: 'boost-users@lists.boost.org'
Subject: [asio] Sending large packages

 

Dear all,

 

Is there a well-defined way of sending large packages over TCP? Or do I have to split the packages on my own? For explanation: I want to send images (size around 6MB).

 

Best regards,

Nicola

 

 

*****

Nicola Michael Gutberlet (Dipl.-Inf.)

Image Processing Dept.

Fraunhofer-Institut für Nachrichtentechnik

Heinrich-Hertz-Institut

Einsteinufer 37

10587 Berlin

Phone: +49 (0) 30 / 31002-564

Room: AM 601