|
Boost Users : |
Subject: Re: [Boost-users] [asio] Sending large packages
From: Igor R (boost.lists_at_[hidden])
Date: 2010-01-04 05:41:15
> 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_at_[hidden]]
> Sent: 15 December 2009 17:28
> To: 'boost-users_at_[hidden]'
> 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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net