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

How would I put my socket in non-blocking mode?

1 Answers  


How do I send [this] over a socket?

1 Answers  


Where can a get a library for programming sockets?

1 Answers  


What pieces of information make up a socket?

0 Answers  


How many socket connections can a server handle?

0 Answers  


How can I listen on more than one port at a time?

1 Answers  


What's the difference between a socket and a port?

0 Answers  


When should I use shutdown()?

1 Answers   Wipro,


Why does the sockets buffer fill up sooner than expected?

0 Answers  


How does a socket work?

0 Answers  


What is a socket connection?

0 Answers  


What is the purpose of socket?

0 Answers  


Categories