contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   TCPServiceIsOpen    
    Related Concepts   Other Library Functions  

Library: TCP/IP
Include: omioprot.xin, omtcp.xin
Returns: Boolean

Returns true if the TCP service is open, and false otherwise.

Declaration

  define external switch TCPServiceIsOpen
        value TCPService this-TCPService
  as TCPServiceIsOpen


Purpose

This function checks whether a TCP service is open, regardless of whether it's just been declared or is in error. It is always valid to call this function.

Argument:

Example

  do unless TCPServiceIsOpen omdemo-service
     output "not open %n"
  done

      Related Concepts
   Security considerations
 
Other Library Functions
   TCPConnectionClose
   TCPConnectionGetCharacters
   TCPConnectionGetLine
   TCPConnectionGetOutput
   TCPConnectionGetPeerIP
   TCPConnectionGetPeerName
   TCPConnectionGetSource
   TCPConnectionGetStatusReport
   TCPConnectionIsConnected
   TCPConnectionIsInError
   TCPConnectionOpen
   TCPConnectionPut
   TCPConnectionSetBuffering
   TCPConnectionSignalSourceEnd
   TCPIsVersionCompatible
   TCPLibraryVersion
   TCPServiceAcceptConnection
   TCPServiceClose
   TCPServiceGetPort
   TCPServiceGetStatusReport
   TCPServiceIsInError
   TCPServiceIsOpen
   TCPServiceOpen
   TCPTraceConnectionOpen
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:21 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.