TCPIsVersionCompatible

function

Library: TCP/IP client and server support (OMTCP legacy, OmniMark versions 4 - 6.0.1)
Include: omtcp.xin

Returns: true if the TCP/IP library is compatible with the version of OmniMark in use; false otherwise


Declaration
define external switch function TCPIsVersionCompatible


Purpose

This function is used to determine if the TCP/IP library is compatible with the version of OmniMark in use.

Example:

  do unless TCPIsVersionCompatible
     put #error "TCP/IP library is not compatible with this version of OmniMark"
     halt with 1
  done