Two TCP/IP questions
-
I’m running a test with one server and multiple clients. At between 90 and 100 clients something happens and my code locks up. I know it’s not threads, fd’s, or socket’s. Any obvious limit I’m hitting?
-
I’m having trouble bringing down a listening socket gracefully. If I just break the program, or if I do a shutdown()/close() on the socket, the socket continues to appear for about a minute with “netstat -a”. While it’s still there if I re-start the server program it crashes, though that’s probably my codes problem. Anyone know the right way to bring the socket down and have it disappear immediately?
This is QNX 6.3.2 if that matters.
Thank you,