Help for this page

Select Code to Download


  1. or download this
    $sock->send( "$msg\n"  );  # possibly " $msg\r\n "
    # or send a blank line
    $sock->send( "\n"  );
    
  2. or download this
    while(my $len = sysread( $sock, my $buffer, 1) > 0) {  print "$buffer\
    +n"; }
    
  3. or download this
    #!/usr/bin/perl
    use warnings;
    ...
                   print "$incoming_data\n";
                }
             }