UDP:recvfrom() function

Started by
1 comment, last by hplus0603 19 years, 2 months ago
What the function will return when there are two datagrams recieved each of 50 bytes, i have called recvfrom() function with following parameters, int result=recvfrom(sockfd,buffer,100) ??? what will be in buffer and what will be in result
Advertisement
This should explain it all for ya...
Quote:
http://www.mkssoftware.com/docs/man3/recvfrom.3.asp

In UDP, each datagram is delivered separately. In TCP, data is delivered as a stream.
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement