Jacek Caban wrote:
Hans Leidekker wrote:
And I guess this is also a good opportunity to round that buffer size up to the nearest power of two.
It won't change much, we don't wait for whole data, so, in my tests, recv returns after reading 1448 bytes. It's similar to Windows, where I get 1460 bytes.
Sorry, I should go to sleep, I've missed the part about power of two. I will send another patch.
Thanks, Jacek