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 |
How come only the first part of my datagram is getting through?
What is LILO?
Can a single socket port be used for multiple applications?
system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?
Where is the socket located?
How many socket connections can a server handle?
How would I put my socket in non-blocking mode?
What is Mac, and how is it different from PC? Which one is better for professional users, and why
1 Answers Evolving Systems, IBM,
How do I properly close a socket?
Why does it take so long to detect that the peer died?
How many sockets can a cpu have?
How do I use TCP_NODELAY?