On Wednesday, 5 September 2012 21:29:12 UTC+5:30, Ramchandra Apte wrote: > On Wednesday, 5 September 2012 18:34:32 UTC+5:30, Chris Angelico wrote: > > > On Wed, Sep 5, 2012 at 10:54 PM, Ramchandra Apte <maniandra...@gmail.com> > > wrote: > > > > > > > At least on Linux, if you kill a process using sockets, it takes about 10 > > > seconds for socket to be closed. A program should try to close all > > > resources. OS'es may take a long time to close a unclosed socket > > > automatically. > > > > > > > > > > > > Err, that's not my experience. When a process terminates, its > > > > > > resources are released promptly. > > > > It is not guaranteed so a program shouldn't presume. > > > > > > > > > > > > ChrisA
oops forgot my signature --- Bragging rights (I belong an exclusive community of banned people): got banned on SO and #python-offtopic Projects:http://code.google.com/p/py2c/ and http://code.google.com/p/uniqos (name may be changed to PyOS) -- http://mail.python.org/mailman/listinfo/python-list