Pipes aren't "full-duplex byte streams", so don't compare SOCK_STREAM
type sockets to them.
This commit is contained in:
parent
869a74e501
commit
12004f8f23
@ -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
|
.\" Copyright (c) 1983, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
@ -119,8 +119,7 @@ is to take place; see
|
|||||||
.Pp
|
.Pp
|
||||||
Sockets of type
|
Sockets of type
|
||||||
.Dv SOCK_STREAM
|
.Dv SOCK_STREAM
|
||||||
are full-duplex byte streams, similar
|
are full-duplex byte streams.
|
||||||
to pipes.
|
|
||||||
A stream socket must be in a
|
A stream socket must be in a
|
||||||
.Em connected
|
.Em connected
|
||||||
state before any data may be sent or received
|
state before any data may be sent or received
|
||||||
|
Loading…
Reference in New Issue
Block a user