Re: more socket stuff - 2nd part

2003-01-01 Thread Ramprasad
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

Re: more socket stuff - 2nd part

2002-12-31 Thread Mat Harris
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

RE: more socket stuff - 2nd part

2002-12-31 Thread Bob Showalter
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

Re: more socket stuff - 2nd part

2002-12-31 Thread Mat Harris
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

Re: more socket stuff - 2nd part

2002-12-31 Thread Mat Harris
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

Re: more socket stuff - 2nd part

2002-12-31 Thread Mark Goland
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

more socket stuff - 2nd part

2002-12-30 Thread Mat Harris
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