Sockets in 386/ix
Marco S Hyman
marc at dumbcat.sf.ca.us
Fri Sep 28 16:04:34 AEST 1990
In article <6168 at uceng.UC.EDU> sramacha at 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 at dumbcat.sf.ca.us
// {ames,decwrl,sun}!pacbell!dumbcat!marc
More information about the Comp.unix.sysv386
mailing list