Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 1997 18:47:06 -0400 (EDT)
From:      "David E. Cross" <dec@phoenix.its.rpi.edu>
To:        hackers@freebsd.org
Subject:   Re: TCP bug in 2.2
Message-ID:  <Pine.BSF.3.95q.970712184406.10593A-100000@phoenix.its.rpi.edu>
In-Reply-To: <199707122153.OAA28921@phaeton.artisoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Jul 1997, Terry Lambert wrote:

> 3)	The client software was ported from a sane TCP/IP environment,
> 	like UNIX, and the programmers have no idea that "shutdown()"
> 	is supposed to be called (amazingly enough, on UNIX systems,
> 	calling "shutdown()" shuts the machine down... who would have
> 	ever thought of naming a function for what the function does?
> 	Apparently not the originators of Winsock.).

The library call shutdown(2) is used to 'shut down' part of a full-duplex
socket, you can in essence close() a connection with shutdown(2).

--
David Cross




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970712184406.10593A-100000>