Pipes aren't "full-duplex byte streams", so don't compare SOCK_STREAM

type sockets to them.
This commit is contained in:
pooka 2004-03-31 16:42:19 +00:00
parent 869a74e501
commit 12004f8f23

View File

@ -1,4 +1,4 @@
.\" $NetBSD: socket.2,v 1.28 2003/08/07 16:44:09 agc Exp $
.\" $NetBSD: socket.2,v 1.29 2004/03/31 16:42:19 pooka Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -119,8 +119,7 @@ is to take place; see
.Pp
Sockets of type
.Dv SOCK_STREAM
are full-duplex byte streams, similar
to pipes.
are full-duplex byte streams.
A stream socket must be in a
.Em connected
state before any data may be sent or received