Article View: comp.unix.programmer
Article #63Re: Bidirectional Pipes
From: M.C Wong
Date: Tue, 21 Jul 1992 03:42
Date: Tue, 21 Jul 1992 03:42
20 lines
1469 bytes
1469 bytes
In article <5380@dsacg3.dsac.dla.mil> nto0302@dsacg3.dsac.dla.mil (Bob Fisher) writes: >From article <1992Jul13.175933.26213@dragon.acadiau.ca>, by 890025d@dragon.acadiau.ca (Andy DeWolfe): >> Can anyone provide examples/references/information on setting up >> bidirectional pipes using "C"/Unix? > >A pipe only works in one direction on our system. I got around this >by creating two pipes - one for output and the other for input. >-- >Bob Fisher >EMAIL: bfisher@dsac.dla.mil osu-cis!dsacg1!bfisher >VOICE: Commercial 1-614-692-9071 Autovon 850-9071 >USPS: Defense Logistics Agency, DSAC-TOL, Box 1605, Columbus OH 43216-5002 Hi, in Steven's Unix Network Programming, he suggests the use of socketpair() system call to create a pair of unnamed bi-directional stream socket. That book is a fantastic one, and I got it from erading the news and some helpful people on the net ! Thanks! - wongm@latcs1.lat.oz.au
Technical Details
Message-ID:
<1992Jul21.034220.22775@latcs1.lat.oz.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!latcs2.lat.oz.au!wongmReferences:
<1992Jul13.175933.26213@dragon.acadiau.ca> <5380@dsacg3.dsac.dla.mil>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!latcs2.lat.oz.au!wongm From: wongm@latcs2.lat.oz.au (M.C Wong) Newsgroups: comp.unix.programmer Subject: Re: Bidirectional Pipes Message-ID: <1992Jul21.034220.22775@latcs1.lat.oz.au> Date: 21 Jul 92 03:42:20 GMT References: <1992Jul13.175933.26213@dragon.acadiau.ca> <5380@dsacg3.dsac.dla.mil> Sender: news@latcs1.lat.oz.au (news) Organization: Comp Sci, La Trobe Uni, Australia Lines: 20 Nntp-Posting-Host: latcs2.lat.oz.au