Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: perl socket doesn't work anymore

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


in reply to perl socket doesn't work anymore

Hi,

knowing what's on your FPPPRO, FPPORT and FPMAXCON could help us helping you.

Note: in the WriteLog param you have $ENV{FPMA}ON}. I presume that the first } sould be an X.

TheMage
Talking Web


Comment on Re: perl socket doesn't work anymore
Download Code
Replies are listed 'Best First'.
Re^2: perl socket doesn't work anymore
by Anonymous Monk on Nov 30, 2006 at 16:05 UTC
    Good point, sorry: FPPORT = 5596 FPPPRO = tcp FPMAXCON = 5
      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?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-07-29 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls