I have a multithreaded socket program doing non blocking select() in
C++ running on FreeBSD.
I'm using the connect_nonb() function in figure 15.11, page 411 in
UNIX Network Programming, Networking APIs: Sockets and XTI, Volume 1,
Second Editon, by W. Richard Stevens.
After running for a time with a lot of traffic going over the sockets,
my program reaches the err_quit() function in line 34.
I'm looking for ideas of what could cause this to happen, or good ways
of debugging what's going on.