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...

Why do I keep getting EINTR from the socket calls?

Answer Posted / chaitanya

This isn't really so much an error as an exit condition. It means that the call was interrupted by a signal. Any call that might block should be wrapped in a loop that checkes for EINTR, as is done in the example code .

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does af mean in sockets?

928


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

842


What is the difference between a socket and a port?

881


What's better 6pt or 12pt sockets?

824


Why does the sockets buffer fill up sooner than expected?

1347


Why sockets are used?

894


Where is the socket located?

901


How are unix domain sockets implemented?

858


Are unix sockets faster than tcp?

859


What's the difference between impact sockets and regular sockets?

865


What is the difference between read() and recv()?

1974


How do unix sockets work?

867


What is socket programming in java?

853


What are the pros/cons of select(), non-blocking I/O and SIGIO?

1365


What pieces of information make up a socket?

957