[boulder.pm] Newbie question...
Justin Crawford
justin.crawford at cusys.edu
Tue Feb 8 15:08:29 CST 2000
Huh!
So, like Chip, I ran the server component on HPUX 10.20 and it went perfectly. But on two different Solaris 2.6 boxes, the while-loop just drops out as soon as the first client connection is made. All three machines are using perl 5.005_02. I guess I'll run it by our kernel kings, and see whether they can tell me about a difference in 'fork' on these two platforms. Thanks, Chip, for figuring that out! If anyone has any advice on getting this thing to work on Solaris 2.6, I'm all eyes....
-Justin
AspDev/____> server
Server ready. Waiting for connections. . .
Im starting a fork
Im too far down in the script!!
Im WAY too far down now!!
AspDev/____>
-----Original Message-----
From: William Atkinson [SMTP:CWA at DISC.com]
Sent: Tuesday, February 08, 2000 10:50 AM
To: 'boulder-pm-list at happyfunball.pm.org'
Subject: RE: [boulder.pm] Newbie question...
That's really weird. On the linux box, it works great, just like you would
expect. I cut and pasted so the code that's running is just the same as you
sent. Here's the output from the server which is still running:
[chip at wwa lab]$ ./monger.pl
Server ready. Waiting for connections. . .
Im starting a fork
Im starting a fork
Im starting a fork
Im starting a fork
>From my other window running the client:
[chip at wwa chip]$ telnet wwa 42444
Trying 192.69.46.102...
Connected to wwa.disc.com.
Escape character is '^]'.
This is being printed on Delphi.
Connection closed by foreign host.
[chip at wwa chip]$ telnet wwa 42444
Trying 192.69.46.102...
Connected to wwa.disc.com.
Escape character is '^]'.
This is being printed on Delphi.
Connection closed by foreign host.
[chip at wwa chip]$ telnet wwa 42444
Trying 192.69.46.102...
Connected to wwa.disc.com.
Escape character is '^]'.
This is being printed on Delphi.
Connection closed by foreign host.
[chip at wwa chip]$
I just checked it on an HPUX box running 5005_02 like you have and it worked
fine. I was going to try it on our Solaris box but that perl is missing the
IO/Socket.pm file. I see why you're baffled -- everything seems to work and
the code is right on at least two boxes.
[Justin Crawford] <SNIPPED>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3159 bytes
Desc: not available
Url : http://mail.pm.org/archives/boulder-pm/attachments/20000208/4332d48a/attachment.bin
More information about the Boulder-pm
mailing list