Why do I keep getting EINTR from the socket calls?
Answer / 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 |
How many socket connections can a server handle?
After the chroot(), calls to socket() are failing. Why?
Is tcp or unix socket faster?
How does unix socket work?
How are unix domain sockets implemented?
How would I put my socket in non-blocking mode?
Are unix sockets faster than tcp?
What is socket programming in java?
How do I get the port number for a given service?
How do I send [this] over a socket?
What's the difference between a socket and a port?
How can I force a socket to send the data in its buffer?