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

Re: How do I bind to a particular Interface ?

by hnd (Scribe)
on Jun 29, 2009 at 20:54 UTC ( #775814=note: print w/replies, xml ) Need Help??


in reply to How do I bind to a particular Interface ?

use IO::Scoket; $socket= new IO::Socket( LocalAddr=>$host, LocalPort=>$port, ..... #other arguments ) or die "socket not created\n";
the $host is the IP of the interface you want and the $port is the port number you want the service to run....

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2022-01-23 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?