(I'm running standard "c" on a Sun Sparc 2 using SunOS 4.1)
I've used sockets quite frequently in the past, but I'm now getting
stumped setting up my sockets in non-blocking mode. The X-app I'm
writing can't block, that's why I`m forced to use non-blocking
sockets.
The problem is this: after a period of time and use, the server side
socket application refuses to accept a connection and returns errno
35, EWOULDBLOCK. As I'm seeing it, the socket system gets hosed,
not even letting me accept connections on a different socket #.
Not until I reboot (!!) the system do the sockets get freed up and
I'm ready to accept connections (until the problem inevitably pops
up again).
Have I uncovered some mystical, magical socket bug or did I blow
it?