Help for this page

Select Code to Download


  1. or download this
    use Socket qw(:DEFAULT :crlf);
    use IO::Handle;
    ...
    SOCK->autoflush(1);
    
    print SOCK $encrypted_message . CRLF;
    
  2. or download this
    use Socket qw(:DEFAULT :crlf);
    use IO::Handle;
    ...
    
    chomp $incoming;
    my $msg = decrypt($key, $incoming);