Re: Line-oriented socket I/O using select()

2013-01-14 Thread Vic Sage
On Jan 13, 2013, at 8:35 PM, Charles DeRykus wrote: > On Sun, Jan 13, 2013 at 3:03 PM, Vic Sage wrote: >> >> What I *want* is to block until an entire "\n"-terminated string [can that >> be referred to as a "line"?] can be retrieved from one of my clients. I'm >> sure I could work out the l

RE: Line-oriented socket I/O using select()

2013-01-14 Thread Bob McConnell
> From: Vic Sage > > I'm writing a multiplexed TCP-based server that reads "\n"-terminated > strings from clients and does something with them. Since this is one process > with multiple client connections, it uses select() (or, actually, can_read > from > IO::Select) to block until data has arri

Re: Line-oriented socket I/O using select()

2013-01-13 Thread Charles DeRykus
On Sun, Jan 13, 2013 at 3:03 PM, Vic Sage wrote: > I'm writing a multiplexed TCP-based server that reads "\n"-terminated strings > from clients and does something with them. Since this is one process with > multiple client connections, it uses select() (or, actually, can_read from > IO::Select