Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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


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.

Talking Web

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

      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
        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?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://586979]
[LanX]: some servers were lagging today, so I suppose the root cause
[LanX]: ambrus no recent patches
[Petroza]: no i haven't posted anything before. It was a more or less long question with a specific issue. I did post a title and the links i added where only part of the element i was searching within the code (so no purpose other than the question itself).
[1nickt]: Petroza can you go back in your browser to the preview screen, redact the links, and try to submit again?
[LanX]: copy and paste the text into your Petroza's scratchpad please
[Petroza]: yes I'll do that. instead of the url I'll write "link"
[LanX]: darn my pc is restarting for updates

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2017-10-17 15:27 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (233 votes). Check out past polls.