http://qs321.pair.com?node_id=775814


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