tcpping
| tcpping | 
  Purpose
 
 
 Test availability of a service on a server.
 
 
  Synopsis
 
  function tcpping(host:string|text,port:integer):integer 
 
  Arguments
 
 | 
     host 
     | 
     Name of server to test
     | 
| 
     port 
     | 
     Service port
     | 
  Return value
 
 
 Test result:
 | 
     0 
     | 
     Connection succeeded
     | 
| 
     1 
     | 
     Invalid parameters
     | 
| 
     2 
     | 
     Host name not found
     | 
| 
     3 
     | 
     Connection failed
     | 
  Further information
 
 
  This function opens a TCP connection to to the given host and port and closes it immediately in case of success.
 
 
  Module
 
  
