Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: perl socket doesn't work anymore

by Anonymous Monk
on Nov 30, 2006 at 16:05 UTC ( [id://586981]=note: print w/replies, xml ) Need Help??


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

Good point, sorry: FPPORT = 5596 FPPPRO = tcp FPMAXCON = 5

Replies are listed 'Best First'.
Re^3: perl socket doesn't work anymore
by themage (Friar) on Nov 30, 2006 at 16:14 UTC
    Hi,

    Looks ok for me. On your code replace:
    $self->Usage ("Can't start client: $!");
    with
    $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 $@?

    TheMage
    Talking Web
      ok, this $@ is cool: Program: /var/opt/FirePower/bin/fireclient.pl 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.

        /J\

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-20 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found