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 |
Why do we need sockets?
What is with the second parameter in bind()?
Why does it take so long to detect that the peer died?
What exactly does SO_KEEPALIVE do?
What is difference between socket and websocket?
Where is the socket located?
Why do not my sockets close?
How many socket connections can a server handle?
How can I read only one character at a time?
What is the difference between a socket and a port?
Can a socket have multiple ports?
What are the types of sockets?