UDP server : UDP « Network « Perl






UDP server

   

use IO::Socket;

$socket = IO::Socket::INET->new
(
    LocalPort => 4321,
    Proto => 'udp'
);

$socket->recv($text, 128);

   
    
    
  








Related examples in the same category

1.UDP client
2.UDP inet client
3.UPD inet server