Help for this page

Select Code to Download


  1. or download this
    pack("a4", inet_aton("192.168.1.1"));
    
  2. or download this
    unpack("a4", inet_ntoa($buffer);
    
  3. or download this
    use IO::Socket;
    $IP_Address = '10.10.10.1';
    ...
    print $sock $buffer;
    close($sock);
    
  4. or download this
    use IO::Socket;
    
    ...
    }
    
    close($sock);