Help for this page

Select Code to Download


  1. or download this
        my $hSocket = IO::Socket::INET->new(
          LocalPort=>$intListenPort, 
    ...
          respond, then close both ports.
        while ($hSocket->recv($datagram,42,$flags)) {
    ...
    
  2. or download this
    until ($hSocket->accept()) {
            ...check for timeout
    ...
            }
            while ($hSocket->recv($datagram,42,$flags)) {
            ...