home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 3816 next >
Encoding:
Internet Message Format  |  1992-07-20  |  1.4 KB

  1. Path: sparky!uunet!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!latcs2.lat.oz.au!wongm
  2. From: wongm@latcs2.lat.oz.au (M.C Wong)
  3. Newsgroups: comp.unix.programmer
  4. Subject: Re: Bidirectional Pipes
  5. Message-ID: <1992Jul21.034220.22775@latcs1.lat.oz.au>
  6. Date: 21 Jul 92 03:42:20 GMT
  7. References: <1992Jul13.175933.26213@dragon.acadiau.ca> <5380@dsacg3.dsac.dla.mil>
  8. Sender: news@latcs1.lat.oz.au (news)
  9. Organization: Comp Sci, La Trobe Uni, Australia
  10. Lines: 20
  11. Nntp-Posting-Host: latcs2.lat.oz.au
  12.  
  13. In article <5380@dsacg3.dsac.dla.mil> nto0302@dsacg3.dsac.dla.mil (Bob Fisher) writes:
  14. >From article <1992Jul13.175933.26213@dragon.acadiau.ca>, by 890025d@dragon.acadiau.ca (Andy DeWolfe):
  15. >> Can anyone provide examples/references/information on setting up
  16. >> bidirectional pipes using "C"/Unix?
  17. >
  18. >A pipe only works in one direction on our system.  I got around this
  19. >by creating two pipes - one for output and the other for input.
  20. >-- 
  21. >Bob Fisher
  22. >EMAIL:    bfisher@dsac.dla.mil          osu-cis!dsacg1!bfisher
  23. >VOICE:    Commercial 1-614-692-9071    Autovon 850-9071
  24. >USPS:     Defense Logistics Agency, DSAC-TOL, Box 1605, Columbus OH 43216-5002
  25.  
  26.  
  27. Hi, in Steven's Unix Network Programming, he suggests the use of
  28. socketpair() system call to create a pair of unnamed bi-directional
  29. stream socket. That book is a fantastic one, and I got it from erading
  30. the news and some helpful people on the net ! Thanks!
  31.  
  32. - wongm@latcs1.lat.oz.au
  33.