Mitchell Schoenbrun
07/23/2010 7:32 PM
post60498
|
Two TCP/IP questions
1) 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?
2) 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?
Thank you,
|
|
|