sendto function call in UDP client program
The following is the UDP client code I am using.
Code:
int sockfd; Instead, it is returning the length of the message as if it is success. can any body please help me tracing the bug? |
Sorry - not a bug.
UDP, as you probably know, is inherently "unreliable". The status simply means the message was sent - the protocol does *not* guarantee that a message sent is also a message received. |
All times are GMT -5. The time now is 10:32 PM. |