in reply to How to create a socket so that it can receive the data from any peer IP and port?
use IO::Socket::INET; my $sock = IO::Socket::INET->new( Proto => 'UDP', LocalPort => $port, ) or die("Can't create socket: $!\n");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to create a socket so that it can receive the data from any peer IP and port?
by sanjay nayak (Sexton) on Dec 29, 2008 at 09:46 UTC |