sockets

Cory Kempf cory at three.MV.COM
Thu May 31 10:21:44 AEST 1990


kjh at 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 at three.mv.com, harvard!zinn!three!cory



More information about the Comp.unix.wizards mailing list