Problem with Closing TCP connection

Madhur madhurrajn at gmail.com
Sat May 5 07:18:26 EDT 2007


Dear All,

I am currently developing a tool using Python 2.4.2 which will be used
as a sink to pump TCP messages. During which i have observed that the
TCP close interface provided by Python is not closing the connection.
This i confirmed by looking at the ethereal logs, which show proper 3
way FIN ACK Handshake. But the netstat reports TIME_WAIT state for the
TCP connection, which is hindering the messages to be pumped later. I
would like to know whether the problem exists Python close and is
there is turnaround? to the mentioned problem.

Thanks,

Madhur




More information about the Python-list mailing list