of the socket? Does doing a connect() call affect the receive behaviour?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online Unix Socket Programming Job Interview Questions And Answers