amazing, just putting fork(); above the while($client=$server->accept) statement has worked. I can now accept multiple connections.
If had thought it would be that easy, I would have been using that long ago. Cheers Mark On Tue, Dec 31, 2002 at 05:59:42 -0500, Mark Goland wrote: > fork...child does action, parent waits for new connection. Dont do threading > for your project. > > Good Luck, > Mark > ----- Original Message ----- > From: "Mat Harris" <[EMAIL PROTECTED]> > To: "Mark Goland" <[EMAIL PROTECTED]> > Cc: "perl" <[EMAIL PROTECTED]> > Sent: Tuesday, December 31, 2002 5:52 AM > Subject: Re: more socket stuff - 2nd part > -- Mat Harris OpenGPG Public Key ID: C37D57D9 [EMAIL PROTECTED] www.genestate.com
msg35696/pgp00000.pgp
Description: PGP signature