Charles-Francois Natali <neolo...@free.fr> added the comment:

>  it may be very convenient and the performance overhead may be barely 
> noticeable.

Convenient for what ?
If the remote end doesn't send a FIN or RST packet, then the TCP/IP stack has 
no way of knowing the remote end is down.
Successfull return of send(2) never meant a succesfull delivery to the other 
end, see man page :
"No indication of failure to deliver is implicit in a send(). Locally detected 
errors are indicated by a return value of -1. "

If your remote application doesn't close its socket cleanly, then your 
application is broken.
To guard against that, you could use TCP keepalive...

----------
nosy: +neologix

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10644>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to