scott@nova.laic.uucp (Scott Weitzenkamp) (02/07/89)
I'm in the process of porting several programs from Sun Unix to System V. On the Suns I used sockets for IPC, and I'm slightly confused as to what to use on System V. STREAMS look like the way to do it, but I'm not sure how to start. I have the System V/386 Streams Primer (which was a total ripoff at over $20 :-( ) and Streams Programmer's Guide. Is there a STREAMS driver similar to Unix domain sockets? Can I have a server program simply open any file and start polling it for messages, while the clients open that same file and start writing to it? How does X11 (or X10 for that matter) use STREAMS? If I can just get a feel for how to use open(2), I'll be fine. Thanks in advanc Scott Weitzenkamp Lockheed AI Center ARPA: farmie@portia.stanford.edu "The faster I go, the behinder I get." Scott Weitzenkamp UUCP: {lll-lcc.arpa,ucbvax}!leadsv!laic!scott Lockheed AI Center ARPA: farmie@portia.stanford.edu "The faster I go, the behinder I get."
ekrell@hector.UUCP (Eduardo Krell) (02/08/89)
In article <438@laic.UUCP> scott@nova.laic.uucp (Scott Weitzenkamp) writes: >How does X11 (or X10 for that matter) use STREAMS? I think they use STREAMS pipes, which work like unix domain sockets. Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ UUCP: {att,decvax,ucbvax}!ulysses!ekrell Internet: ekrell@ulysses.att.com