gokuraku has asked for the wisdom of the Perl Monks concerning the following question:
Checking the value of $protocol in the debugger shows its there when socket() is being called in socket.pm; but maybe its something I am not familiar with that could be generating the error? Any advice is welcome, I'd like to see what this is all about and get it working. Thanks a lot!IO::Socket::socket(/usr/perl5/5.8.4/lib/sun4-solaris-64int/IO/Socket.p +m:78): 78: my($sock,$domain,$type,$protocol) = @_; DB<64> IO::Socket::socket(/usr/perl5/5.8.4/lib/sun4-solaris-64int/IO/Socket.p +m:80): 80: socket($sock,$domain,$type,$protocol) or 81: return undef; DB<64> x $sock 0 IO::Socket::INET=GLOB(0x4ea3bc) -> *Symbol::GEN0 DB<65> x $domain 0 2 DB<66> x $type 0 'SOCK_STREAM' DB<67> x $protocol 0 6 DB<68> IO::Socket::INET::_error(../Perl/IO/Socket/INET.pm:69): 69: my $sock = shift; DB<68> IO::Socket::INET::_error(../Perl/IO/Socket/INET.pm:70): 70: local($!); DB<68> x $sock 0 IO::Socket::INET=GLOB(0x4ea3bc) -> *Symbol::GEN0 DB<69> x $! 0 'Protocol not supported'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Socket.pm returning Protocol not supported
by Somni (Friar) on Nov 13, 2007 at 02:43 UTC | |
by gokuraku (Monk) on Nov 13, 2007 at 12:46 UTC | |
by Somni (Friar) on Nov 14, 2007 at 02:19 UTC |