Killing Sockets
From: Dan (dan_at_dontspammecauseidontlikit.com)
Date: 03/29/05
- Next message: prg: "Re: Killing Sockets"
- Previous message: Carl Fink: "Re: where is network neighborhood?"
- Next in thread: prg: "Re: Killing Sockets"
- Reply: prg: "Re: Killing Sockets"
- Reply: gg-csf_at_dmztest.vsr.ambisys.net: "Re: Killing Sockets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Mar 2005 12:17:00 +0800
I'm working on a Python app that creates a tcp socket and listens on a
port. Sometimes I've found that after I've killed the process, the
socket still remains. When I did a netstat -t, I saw that the socket
is still in the fin-wait-1 state. When I did a ps -ef, I couldn't see
any process still alive that the socket was attached to.
Is there some way to kill the socket is this instance? Being in
fin-wait, it eventually kills itself, but I couldn't restart the
Python app until it had done so.
Dan
- Next message: prg: "Re: Killing Sockets"
- Previous message: Carl Fink: "Re: where is network neighborhood?"
- Next in thread: prg: "Re: Killing Sockets"
- Reply: prg: "Re: Killing Sockets"
- Reply: gg-csf_at_dmztest.vsr.ambisys.net: "Re: Killing Sockets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|