programming-examples/perl/Network/UDP server.pl
2019-11-15 12:59:38 +01:00

9 lines
131 B
Perl

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