RE: forking unix sockets

2002-03-25 Thread Ross Simpson
b ackerman [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 16:22 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: forking unix sockets 'close $sock' in the child? Wouldn't that kill the socket for the parent. Then no more connections for parent. also, why 'f

Re: forking unix sockets

2002-03-22 Thread bob ackerman
'close $sock' in the child? Wouldn't that kill the socket for the parent. Then no more connections for parent. also, why 'fork' in the client? what's the point? On Friday, March 22, 2002, at 01:33 PM, Ross Simpson wrote: > I'm trying to build a forking server which uses unix domain sockets

forking unix sockets

2002-03-22 Thread Ross Simpson
I'm trying to build a forking server which uses unix domain sockets for communication (on solaris 7). I've run into a problem where once a connection has been established and serviced by a child, my domain socket won't accept any more incoming connections. I modified my code so it doesn't fork (h