Help for this page

Select Code to Download


  1. or download this
            OutputStream stream = s.getOutputStream();
            if (stream != null)
            {
    ...
                    res = true;
                }
            }
    
  2. or download this
    use strict;
    use warnings;
    use IO::Socket;
    ...
    my $msg_in = <$socket>;
    print "->$msg_in\n";
    $socket->close or warn $@;