Help for this page

Select Code to Download


  1. 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
    
  2. or download this
    use warnings;
    use strict;
    ...
    my $recv = Storable::fd_retrieve($sock);
    
    print $$recv;
    
  3. or download this
    use warnings;
    use strict;
    ...
    
        $sock->close;
    }