tcp.end-delimited

function

Library: TCP/IP client and server support (OMTCP)
Import : omtcp.xmd

Returns: an I/O protocol object that implements the end-delimited protocol


Declaration
define external tcp.io-protocol function tcp.end-delimited
   value string End-of-Data-Pattern


Purpose

This function is used to implement the end-delimited protocol. In this protocol, the end of data is indicated by end-marking the data with the specified end-of-data pattern. The end-of-data pattern must not occur in the data. The length of the end-of-data pattern must be at least 1 byte and no more than 64 bytes.

Examples in common use: