TCP/IP client and server support (OMTCP legacy, OmniMark versions 4 - 6.0.1)

This version of the library was shipped with OmniMark 4 up to OmniMark 6.0.1.

The TCP/IP (Transmission Control Protocol/Internet Protocol) library allows the user to make TCP connections to the outside world. That is, the user can connect to other processes and machines. The TCPServiceOpen API creates a TCP service object, which will allow a TCP connection to be made from the outside. Once the connection is made, data may be freely written or read along the connection in a bi-directional fashion.

The TCP/IP library is intended to be the basis on which application protocols are applied, such as FTP or HTTP. The functions in the TCP/IP library allow the user to send and receive data, as well as identify errors in the connection or the TCP object.

To use these functions, include the following at the beginning of your program:

  
    include "omtcp.xin"

Note: The functions in this library have been superceded by functions that generate exceptions. You can read about these new function by reviewing the documentation for OMTCP (legacy, OmniMark versions 6.0.1 - 7.0). Both the new and deprecated functions are available to your program through the same xin file.

Both libraries have subsequently been superceded by OMTCP