programming-examples/perl/Network/UDP server.pl

9 lines
131 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
use IO::Socket;
$socket = IO::Socket::INET->new
(
LocalPort => 4321,
Proto => 'udp'
);
$socket->recv($text, 128);