the $host is the IP of the interface you want and the $port is the port number you want the service to run....use IO::Scoket; $socket= new IO::Socket( LocalAddr=>$host, LocalPort=>$port, ..... #other arguments ) or die "socket not created\n";
In reply to Re: How do I bind to a particular Interface ?
by hnd
in thread How do I bind to a particular Interface ?
by niley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |