Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Asynchronous HTTP Request using specific ports

by Anonymous Monk
on Apr 04, 2013 at 11:16 UTC ( #1026972=note: print w/replies, xml ) Need Help??


in reply to Asynchronous HTTP Request using specific ports

This seems inconsistent:
PeerPort => "http(80)", LocalPort => $port, Proto => 'tcp',
Try (guess) "http($port)"

Replies are listed 'Best First'.
Re^2: Asynchronous HTTP Request using specific ports
by Adamba (Sexton) on Apr 04, 2013 at 12:08 UTC

    It's not inconsistent, cause I want that my destination port will be 80 and my source port will be $port

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026972]
help
Chatterbox?
[Corion]: marioroy: Oh, that's always cool, having API-compatible modules. This makes testing and comparing things much easier
[marioroy]: IPC in MCE::Shared can handle 400k (sends) per second. That's seems a lot for being a pure-Perl module. After making the release, will come back and post a solution for a node by a fellow wanting faster logging.
[Corion]: While working on WWW::Mechanize:: Chrome, I had the suspicion that AnyEvent was doing something wrong, but I was able to swap it out for Mojolicious and the error persisted.
[Corion]: Of course, the error was in my own code ;)
[marioroy]: Corion, start and start_child in MCE::Hobo::Manager return a MCE::Hobo object, whereas P::FM returns the PID. I can have it return the PID though. I tried Hobo::Manager with several P::FM modules, just changed P::FM to MCE::Hobo::Manager and it works.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-05-26 08:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?