Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!mailrus!uunet!wang!bu-tyng!three!cory From: cory@three.MV.COM (Cory Kempf) Newsgroups: comp.unix.wizards Subject: Re: sockets Keywords: sockets, primer Message-ID: <331@three.MV.COM> Date: 31 May 90 00:21:44 GMT References: <24943@usc.edu> Organization: Three Letter Co. Nashua, NH. Lines: 18 kjh@pollux.usc.edu (Kenneth J. Hendrickson) writes: >About a year ago, somebody posted a really nice primer on sockets. I >didn't save it. Now, I wish I had. Does anybody still have it? If you >have any good examples (or that primer on sockets), would you please >post it? Thanks. I wrote one a few years ago... I'll see if I can find a soft copy around somewhere. From what you have described though, it might be easier to use the socketpair() call -- creates a pair of connected sockets (SOCK_STREAM, AF_UNIX). If you don't need to go over the network, and you are forking anyway, you might as well use it. +C -- Cory Kempf I do speak for the company (sometimes). Three Letter Company 603 883 2474 email: cory@three.mv.com, harvard!zinn!three!cory