of the socket? Does doing a connect() call affect the receive behaviour?
Answer / chaitanya
Yes, in two ways. First, only datagrams from your "connected peer" are returned. All others arriving at your port are not delivered to you.
But most importantly, a UDP socket must be connected to receive ICMP errors.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is LILO?
What is a socket set used for?
How should I choose a port number for my server?
What is a socket file?
Whats the difference between select() and poll()?
Is tcp or unix socket faster?
What are the types of sockets?
What are socket exceptions? What is out-of-band data?
How to find other end of unix socket connection?
What is Mac, and how is it different from PC? Which one is better for professional users, and why
1 Answers Evolving Systems, IBM,
What exactly is a socket?
What is the difference between connected and unconnected sockets?