Help for this page

Select Code to Download


  1. or download this
    #Before writting on the socket
    $sock->autoflush(); # so output gets there right away
    
  2. or download this
    #when writting $data to the socket
    print $sock $data . "\015\012";
    
  3. or download this
    #when done writting to the socket
    close($sock);