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 |
What is difference between socket and websocket?
Explain the TIME_WAIT state.
What is LILO?
How many sockets can a port have?
What is a sae socket?
How do I properly close a socket?
What pieces of information make up a socket?
How do Sockets Work?
Why do I keep getting EINTR from the socket calls?
How is a socket created?
of the socket? Does doing a connect() call affect the receive behaviour?
What is af_inet in socket?