wrote:
glad it worked, although the fork() was sepose to be after the while
loop.
Cheers,
Mark
- Original Message - From: "Mat Harris"
<[EMAIL PROTECTED]>
To: "Mark Goland" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, December 31, 2002 6:08
ber 31, 2002 6:08 AM
Subject: Re: more socket stuff - 2nd part
tried that and although it worked for the first connection, it still
hung on accepting the second.
either way your suggestion made it happen
--
Mat Harrison Network Systems Administrator
[EMAIL PROTECTED] www.genestate.com
Mat Harris wrote:
> i have sorted the two-way communication stuff but no I am having
> trouble doing the multithreaded version. I have no experience using
> fork or anything to do with spawing or pid's.
>
> Looking at the multithreaded server example on the sockets page on
> perldoc.com, please co
erl" <[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/pgp0.pgp
Description: PGP signature
ient = $server->accept()){
> fork{
> ...
> }
> }
>
> also consider closing the log inside your while loop. Are you trying to
> write a DHCP server ???
>
> Mark
> - Original Message -
> From: "Mat Harris" <[EMAIL PRO
Original Message -
From: "Mat Harris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 30, 2002 7:35 PM
Subject: more socket stuff - 2nd part
i have sorted the two-way communication stuff but no I am having trouble
doing the multithreaded version. I hav
i have sorted the two-way communication stuff but no I am having trouble
doing the multithreaded version. I have no experience using fork or anything
to do with spawing or pid's.
Looking at the multithreaded server example on the sockets page on
perldoc.com, please could someone help me convert th