Help for this page

Select Code to Download


  1. or download this
      my $udp_server = shift @ARGV;
    
    ...
    
        socket (UDP_SOCK, PF_INET, SOCK_DGRAM, $trans_serv);
      }
    
  2. or download this
      use constant REMOTE_HOST => $udp_server;
    
  3. or download this
      Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 
    +4 at
      /opt/perl/lib/5.3.7/i686-linux-thread-multi/Socket.pm line 373
    
  4. or download this
      my $udp_server = shift @ARGV;
    
    ...
        use constant SIMPLE_UDP_PORT => 4001;
          :
          :