Xref: utzoo comp.unix.wizards:14620 comp.unix.questions:11625 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ulysses!hector!ekrell From: ekrell@hector.UUCP (Eduardo Krell) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: sockets vs. STREAMS, also intermachine networking on SV Keywords: I'm even more confused now... Message-ID: <11199@ulysses.homer.nj.att.com> Date: 10 Feb 89 18:42:55 GMT References: <438@laic.UUCP> <11191@ulysses.homer.nj.att.com> <11196@ulysses.homer.nj.att.com> <506@gonzo.UUCP> Sender: netnews@ulysses.homer.nj.att.com Reply-To: ekrell@hector.UUCP (Eduardo Krell) Distribution: usa Organization: AT&T Bell Laboratories Lines: 15 In article <506@gonzo.UUCP> daveb@gonzo.UUCP (Dave Brower) writes: >The main reason you want a >stream pipe is so you can use poll() in your server, which is supposed >to pay attention to a number of connected clients. Now SVR3 has no >generically supported method for doing this as far as I can tell. I don't understand your question. The poll() system call in SVR3 works like BSD's select() except that you can only apply it to STREAMS file descriptors. A file descriptor obtained by opening a (full duplex) connection through /dev/spx IS a STREAMS file descriptor. Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ UUCP: {att,decvax,ucbvax}!ulysses!ekrell Internet: ekrell@ulysses.att.com