so-linger

How can I list for each Windows TCP socket the status of SO_LINGER?

I want to verify that a group of sockets do (or do not) have the SO_LINGER option set on them, but the end I care about isn't my program. Basically, my program is getting an unexpected network reset (RST) and I believe it's because the server is setting SO_LINGER and the client isn't pulling the data fast enough. I can find plenty of w...

SO_LINGER and closing sockets(WINSOCK)

hey. im writing a multithreaded winsock application and im having some issues with closing the sockets. first of all, is there a limit for a number of simultaneously open sockets? lets say like 32 sockets all in once. i establish a connection on one of the sockets, and passing information and it all goes right. problem is when i disconn...