ok, im binding a listening socket with TCPServer, looping for inbound
connections, passing the accepted sockets off to another part of the program.
Now this doesn’t happen often, and ive yet to provoke it intentionally, but
after the server is running for a while, all of the sudden the gets loop for
each of the accepted sockets in the application raise an exception with the
message Bad File Descriptor, and the listening socket isnt listening anymore.
Any ideas on whats happening here? It would make sense to me if it was raised
on only the sockets accepted after a certain point in execution, but its raised
on all of them, an hour after the server has been started and in the midst of
the accepted sockets communicating fine.