contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   TCPServiceGetStatusReport    
    Related Concepts   Other Library Functions  

Library: TCP/IP
Include: omioprot.xin, omtcp.xin
Declaration

  define external function TCPServiceGetStatusReport
        value TCPService this-TCPService
     into modifiable stream report
  as TCPServiceGetStatusReport


Purpose

TCPServiceGetStatusReport is used to identify errors in the TCP service. Errors in initiating or using a TCP service are recorded in the TCP service itself, or in the TCP connection objects derived from it.

If the TCP service is in error, the into shelf is populated with one or more strings, each with an appropriate error message. Any previous shelf contents are lost. In most cases, there will be only one string placed on the shelf. If the TCP service is not in error, the shelf will be cleared.

Each error entry in the shelf consists of a symbolic (string) error code, followed by a single space, followed by text that describes or explains the error in more detail. A list of symbolic constants along with their meanings is shown below:

Arguments:

Example:

  local stream errorReport variable

  TCPServiceGetStatusReport omdemo-service into errorReport
  output "TCPService Error:%n" when number of errorReport < 0
  repeat over errorReport
     output errorReport || "%n"
  again

      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:20 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.