Clear questions and runnable code
get the best and fastest answer
Re: Re: Win32 sockets and disconnectsby HaB (Sexton)
|on Dec 13, 2000 at 19:38 UTC||Need Help??|
We tried what you said, with some definately odd results:
Started server, started client A.
Ctrl-C'd client A and restarted it.
Got the same result we had been getting. It says it connects, sends a message, and sits waiting for an ACK.
Then, we started client B on another machine. It also says it connects, sends a message, and waits for an ACK.
Now...if I understand sockets correctly, you can't have 2 connections made to the same port, unless you are handing off connections to another handler for processing, and leaving the original port open for new connects, right?
Since I'm not doing any of that....how can this be?
Is this a client problem?
Is the OS (Win32) doing some internal stuff I'm not aware of?