Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!hplabs!otter.hpl.hp.com!hpopd!sjs From: sjs@hpopd.pwd.hp.com (Steve Shergold) Newsgroups: comp.sys.apollo Subject: Re: Problems with Unix domain sockets and binding Message-ID: <38160001@hpopd.pwd.hp.com> Date: 5 Feb 91 13:44:06 GMT References: <1054@usage.csd.unsw.oz.au> Organization: Hewlett-Packard CCG-PWD, UK. Lines: 12 I encountered a similar problem with a DN4500 running SR10.2. I think the problem is caused by the connect failing, before the bind. Try adding the following lines after the connect, and before the bind : close(s); s=socket(AF_UNIX, SOCK_STREAM, 0); Presumably the failed connect is overwriting something vital, which can be set-up again by a second call to socket. sjs @ hpopd.pwd.hp.com