On Wed, Feb 18, 2009 at 12:16 PM, Timothy S. Nelson
<wayl...@wayland.id.au> wrote:
> On Wed, 18 Feb 2009, Leon Timmermans wrote:
>
>        The only difference I could see was that shutdown allows changing the
> readability and writeability.  While I agree that this functionality should
> be exposed, (see my next update), I think that in the general case, .close()
> plus the other stuff I've done should be sufficient.  Maybe shutdown()
> should be exposed somewhere, though.
>

You are missing one very important thing about shutdown: its effect is
on the connection and thus global. It also affects other processes
that share the same socket. close() OTOH is local. It only affects the
file descriptor, and only in the current process.

Leon

Reply via email to