go ahead... be a heretic | |
PerlMonks |
Re: Re: Re: Socket problems under Windowsby chanio (Priest) |
on Mar 25, 2003 at 03:27 UTC ( [id://245604]=note: print w/replies, xml ) | Need Help?? |
Read at Perl 5 by Example (David Medinets-1997):
Check the values returned at $proto. You should write all the get...() like this...
my $proto = getprotobyname('tcp)||6; ##just in case you don't get any value as returned...
hope it helps
Alberto
In Section
Seekers of Perl Wisdom
|
|