On 2005-06-25, Jp Calderone <[EMAIL PROTECTED]> wrote:
>>[I've never figured out why one would do a shutdown RDWR rather
>>than close the connection, but I haven't put a lot of thought
>>into it.]
>
> shutdown actually tears down the TCP connection; close
> releases the file descriptor.
>
> If there is only one file descriptor referring to the TCP
> connection, these are more or less the same. If there is more
> than one file descriptor, though, the difference should be
> apparent.
Ah yes. I hadn't thought of that. I think the only time I had
ever used shutdown was to shutdown just the transmit half.
--
Grant Edwards grante Yow! An INK-LING? Sure --
at TAKE one!! Did you BUY any
visi.com COMMUNIST UNIFORMS??
--
http://mail.python.org/mailman/listinfo/python-list