mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-31 00:13:01 +08:00
12 lines
213 B
Perl
12 lines
213 B
Perl
|
#!/usr/bin/perl
|
||
|
|
||
|
use IO::Socket;
|
||
|
|
||
|
my $server = new IO::Socket::INET(LocalPort => 7183, Listen => 1);
|
||
|
die "Could not create socket: $!\n" unless $server;
|
||
|
|
||
|
my $client = $server->accept();
|
||
|
|
||
|
print while (<$client>);
|
||
|
|