Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



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

Post New Answer

More Unix Socket Programming Interview Questions

Are sockets files?

0 Answers  


How come select says there is data, but read returns zero?

1 Answers  


What is active unix domain sockets?

0 Answers  


Why do I get EPROTO from read()?

0 Answers  


When should I use shutdown()?

1 Answers   Wipro,


After the chroot(), calls to socket() are failing. Why?

1 Answers  


What is a socket file?

0 Answers  


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 is af_inet in socket?

0 Answers  


Why does connect() succeed even before my server did an accept()?

1 Answers  


How do I properly close a socket?

1 Answers  


What is a socket connection?

0 Answers  


Categories