- or download this
- copy below code to client.pl and server.pl respectively
- start the server in the background:
-- perl server.pl bg
- run the client (different cmd window):
-- perl client.pl
- or download this
use warnings;
use strict;
...
my $recv = Storable::fd_retrieve($sock);
print $$recv;
- or download this
use warnings;
use strict;
...
$sock->close;
}