in reply to Re: Re: Re: Re: Disconnect client without closing socket?
in thread Disconnect client without closing socket?
After forking, you have to close the client handle in the parent. You also need to close the listen socket in the child (unless you've set that handle to close on fork - I forget the system call that does this).
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Disconnect client without closing socket?
by Anonymous Monk on Dec 15, 2002 at 22:14 UTC | |
by Aristotle (Chancellor) on Dec 16, 2002 at 00:24 UTC |