IOProtocolEndDelimited

function

Library: Packetizing support (OMIOPROT legacy)
Include: omioprot.xin

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


Declaration
define external IOProtocol function IOProtocolEndDelimited
   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: