Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: perl socket doesn't work anymore

by themage (Friar)
on Nov 30, 2006 at 16:14 UTC ( #586983=note: print w/ replies, xml ) Need Help??

in reply to Re^2: perl socket doesn't work anymore
in thread perl socket doesn't work anymore


Looks ok for me. On your code replace:

$self->Usage ("Can't start client: $!");
$self->Usage ("Can't start client: $@");
And now, when you say it don't work, you mean that, more specificly? The socket is not opening, which error are you getting in $@?

Talking Web

Comment on Re^3: perl socket doesn't work anymore
Select or Download Code
Replies are listed 'Best First'.
Re^4: perl socket doesn't work anymore
by Anonymous Monk on Nov 30, 2006 at 16:23 UTC
    ok, this $@ is cool: Program: /var/opt/FirePower/bin/ Version: 2.0.0 Message: Can't start client: IO::Socket::INET: Bad protocol 'tcp' Usage: Why would tcp all of a sudden be a bad protocol?

      Perhaps someone edited /etc/protocols or switched the machine from or to using NIS.


        hmmm ... the machine was using NIS and is now using LDAP. Is that the culprit? If so, how do I resolve this? Also, why would removing NIS be the issue oh great one?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://586983]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2015-11-29 21:08 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (753 votes), past polls