Boost logo

Boost :

From: Boris Schäling (boris_at_[hidden])
Date: 2002-11-27 03:31:38


> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]]On Behalf Of Darryl Green
> Sent: Wednesday, November 27, 2002 1:27 AM
> To: Boost mailing list
> Subject: RE: [boost] Socket Multiplexing
>
>
>
>
> > From: Boris Schäling [mailto:boris_at_[hidden]]
> > > From: boost-bounces_at_[hidden]
> > > [mailto:boost-bounces_at_[hidden]]On Behalf Of Hugo Duncan
> > > [...]
> > > * a multiplexing library should cope with:
> > > files,
> >
> > How should files be supported by a multiplexing library? In Unix/Linux
> > file
> > access never blocks? The man page of select() says: "File descriptors
> > associated with regular files always select true for ready to
> read, ready
> > to
> > write, and error conditions."
>
> Note man says "regular files" - there are lots of interesting
> special files that don't always report ready - I/O devices, pipes
> etc. Also, I think it would be a bad idea to assume that select

Hugo suggested pipes separately. I was thinking he meant regular files by
"files"?

Boris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk