Prev: Does "df" modify the ext2 filesystem
Next: book
From: Ian Collins on 21 Apr 2010 15:58 On 04/22/10 05:01 AM, Scott Lurndal wrote: > "Bill Cunningham"<nospam(a)nspam.invalid> writes: >> >> "Scott Lurndal"<scott(a)slp53.sl.home> wrote in message >> news:Derzn.3$XD2.1(a)news.usenetserver.com... >> >>> I prefer poll(2) over select(2), but my background is SYSV, not BSD. I >>> think >>> poll is more flexible than select (and older select implementations had a >>> relatively small limit on the maximum file descriptor that could be used). >> >> Maybe you can help me with a client to the echo port. The way I >> understand it from reading opengroup's posix standard a client doesn't need >> the ai_flags member set. I usually set it to the macro AF_PASSIVE but it and >> bind() must only be for servers. Here's what I have so far: > > Here's a more modern example: Modern? It's got a goto in it! <snip code> -- Ian Collins |