On Tue, Sep 7, 2010 at 3:05 PM,  <[email protected]> wrote:
> Yep, "netstat -ano". It's repeatable every time, do you see the same behavior?

No, here's an output (this is from OS X).

Server started:
$ netstat -a  | grep 22222
tcp46      0      0  *.22222                *.*                    LISTEN

Client connects:
$ netstat -a  | grep 22222
tcp4       0      0  vysper.org.22222       vysper.org.65126       ESTABLISHED
tcp4       0      0  vysper.org.65126       vysper.org.22222       ESTABLISHED
tcp46      0      0  *.22222                *.*                    LISTEN

Client disconnects:
$ netstat -a  | grep 22222
tcp46      0      0  *.22222                *.*                    LISTEN
tcp4       0      0  vysper.org.65126       vysper.org.22222       TIME_WAIT

Server shuts down:
$ netstat -a  | grep 22222
tcp4       0      0  vysper.org.65126       vysper.org.22222       TIME_WAIT

/niklas

Reply via email to