Re:Each socket should have two file descriptors
by theoh on Sunday July 21, 2013 @04:56PM
(#6080324)
Plan 9 doesn't separate the read and write fds, but does provide a separate ctl file to replace ioctl. This may be a cleaner approach: control signals are no longer "in band" operations on the data fd (or fds). Logically it seems better to have a single fd representing a full-duplex connection, and expecting the programmer to keep track of the connection state (or possibly receive an error if they don't)
[ Parent
| on HN ]
There are no comments on this comment yet.