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 is a socket connection?

880


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

1310


Can a socket have multiple ports?

811


What is a socket set used for?

896


Is tcp or unix socket faster?

790


What is the difference between a socket and a port?

822


What are the types of sockets?

872


How can I set the timeout for the connect() system call?

1462


What is socket address with example?

794


Why do I get EPROTO from read()?

1392


How many socket connections can a server handle?

806


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

794


Are sockets files?

817


What is the purpose of socket?

848


What is difference between socket and websocket?

843