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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How many socket connections can a server handle?

817


How many sockets can a cpu have?

811


What are the types of sockets?

886


What is a sae socket?

885


What is sae socket?

783


How can I tell when a socket is closed on the other end?

1306


What is the difference between SO_REUSEADDR and SO_REUSEPORT?

1758


What is socket address?

983


What is difference between socket () and serversocket () class?

829


What is a socket connection?

889


How many sockets can a port have?

815


What is a socket api?

853


Can multiple clients connect to same socket?

859


What is socket address with example?

808


Is a socket a file?

805