Where is your debugging code? I mean: perl gives you all the means of tracking down the errors, yet I don't see you used any of them. Let me explain:
if (connect(S,$s)) { print "connected to $host\n"; print S "GET \/ HTTP\/1.0\n\n"; read(S,$data,100) || die "Error Reading: $!\n"; close(S); } else { die "connect failed: $!\n" }
In reply to Re: sockets in XP activeperl
by abstracts
in thread sockets in XP activeperl
by cghost
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |