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 are raw sockets?
How can I tell when a socket is closed on the other end?
What's the difference between impact sockets and regular sockets?
How would I put my socket in non-blocking mode?
How do I use TCP_NODELAY?
What's better 6pt or 12pt sockets?
Can a socket have multiple ports?
How often should I re-transmit un-acknowleged messages?
What is with the second parameter in bind()?
How can I listen on more than one port at a time?
system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?
What is LILO?