Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
On Thursday, February 25, 2016 at 1:56:21 PM UTC-5, Martin A. Brown wrote: > Hello again Ray, > > >> >I'm new to python networking. I am waiting TCP server/client app by > >> >using python built-in SocketServer. My problem is if client get > >> >killed, then the tcp port will never get released,

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Martin A. Brown
Hello again Ray, >> >I'm new to python networking. I am waiting TCP server/client app by >> >using python built-in SocketServer. My problem is if client get >> >killed, then the tcp port will never get released, in CLOSE_WAIT >> >> I did not thoroughly review your code (other than to see that

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
On Thursday, February 25, 2016 at 12:56:10 PM UTC-5, Ray wrote: > hi, > > I'm new to python networking. I am waiting TCP server/client app by using > python built-in SocketServer. My problem is if client get killed, then the > tcp port will never get released, in CLOSE_WAIT > > maybe I didn't d

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
On Thursday, February 25, 2016 at 1:18:05 PM UTC-5, Martin A. Brown wrote: > >I'm new to python networking. I am waiting TCP server/client app by > >using python built-in SocketServer. My problem is if client get > >killed, then the tcp port will never get released, in CLOSE_WAIT > > I did not t

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Martin A. Brown
>I'm new to python networking. I am waiting TCP server/client app by >using python built-in SocketServer. My problem is if client get >killed, then the tcp port will never get released, in CLOSE_WAIT I did not thoroughly review your code (other than to see that you are not using SO_REUSEADDR).

tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
hi, I'm new to python networking. I am waiting TCP server/client app by using python built-in SocketServer. My problem is if client get killed, then the tcp port will never get released, in CLOSE_WAIT maybe I didn't do the handler right? or anyway I can catch the client get killed? I wrote fo