[comp.sys.apollo] Problems with Unix domain sockets and binding

sjs@hpopd.pwd.hp.com (Steve Shergold) (02/05/91)

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