krishnakumari
Dec 1, 2011, 06:59 PM
We have 2 applications. One using TCP and the other using UDP. 4096 bytes in the receive buffer for the TCP socket &two 2048 byte datagrams are in receive buffer for the UDP socket. The TCP application calls read with a third argument of 4096 and UDP application calls recvfrom with a third argument of 4096. Is there any difference?