Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!uunet!cbmvax!amix!ford From: ford@amix.commodore.com (Mike "Ford" Ditto) Newsgroups: comp.unix.amiga Subject: Re: Domain Socket Summary: "Unix Domain" Message-ID: <928@amix.commodore.com> Date: 29 Jan 91 15:55:45 GMT References: <1991Jan27.023818.4112@cs.mcgill.ca> Reply-To: ford@amix.commodore.com (Mike "Ford" Ditto) Organization: Commodore-Amiga Unix Development Lines: 23 In article <1991Jan27.023818.4112@cs.mcgill.ca> tinyguy@cs.mcgill.ca (Yeo-Hoon BAE) writes: >This may not apply to the A3000UX, but what exactly is the >'Domain socket'? I think it's only supported by Berkerley Unix. You're probably thinking of "Unix domain" sockets, as opposed to "IP domain" sockets. The difference is that the IP domain uses IP addresses to connect to a process on some machine on a network, while the Unix domain uses Unix pathnames to connect to a process on the same machine. For example, you could create a server that makes a Unix domain socket and binds it to the name "/tmp/mysocket", and other processes could connect to it and communicate with your server. Unix domain sockets, like sockets in general, were invented as part of BSD Unix, and are also present in SVR4. -=] Ford [=- "But everybody wants a rock (In Real Life: Mike Ditto) to wind a piece of string around." ford@amix.commodore.com - They Might be Giants, uunet!cbmvax!ditto "We want a rock" ford@kenobi.commodore.com