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 |
of the socket? Does doing a connect() call affect the receive behaviour?
How many socket connections can a server handle?
How can I read ICMP errors from connected UDP sockets?
What's the difference between impact sockets and regular sockets?
How do Sockets Work?
What's better 6pt or 12pt sockets?
How can I bind() to a port number < 1024?
When will my application receive SIGPIPE?
How can I be sure that UDP messages are received in order?
system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?
How do I send [this] over a socket?
Why do we need sockets?