LaBird wrote:
> Dear all,
>
> I am implementing the communication part of a parallel
> application, using Linux sockets with TCP/IP. I found
> that each time in the recv(), I can only get at most 1448
> bytes, despite I specify a larger number of bytes to get
> (3rd argument in recv()), and the sender has sent more
> bytes than that. I have to call multiple recv() to get the
> whole message.
>
> How can I alter this behavior? Is it using setsockopt()?
> Thanks!
>
you forgot the IP-Header and all the other overhead that is includes and
reduces the actually transferred data to 1448 Byte
--
---
http://www.alf.at.tc
Austrian Linux Forum