Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!portal!fernwood!dumbcat!marc From: marc@dumbcat.sf.ca.us (Marco S Hyman) Newsgroups: comp.unix.sysv386 Subject: Re: Sockets in 386/ix Keywords: sockets, ix, 386 Message-ID: <211@dumbcat.sf.ca.us> Date: 28 Sep 90 06:04:34 GMT References: <6168@uceng.UC.EDU> Distribution: usa Organization: MH Software, Hayward, Ca. Lines: 23 In article <6168@uceng.UC.EDU> sramacha@uceng.UC.EDU (Sridhar Ramachandran) writes: From the documentation of 386/ix, I understand that they don't implement Unix domain sockets. Correct. I need Unix domain sockets to create a communication channel between two processes. I know that this could have been done with other IPC calls, but hey, I didn't write the original version. The call that the software uses to do this is a "socketpair" call. Check out a streams pipe [spipe(3i) in the 386/ix doc]. If that doesn't do what you want make a connection to yourself. A quick hack is to use the loopback address. Better is to do a gethostid or some such. (enjoy) // marc -- // marc@dumbcat.sf.ca.us // {ames,decwrl,sun}!pacbell!dumbcat!marc