swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
      Other Library Functions  
function  

tcp.end-delimited

 
 

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

Returns: 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:

        Other Library Functions
   tcp.accept-connection
   tcp.connect
   tcp.connection
   tcp.create-service
   tcp.destroy-service
   tcp.disconnect
   tcp.end-delimited
   tcp.get-string
   tcp.is-connected
   tcp.multi-packet
   tcp.omtcp-version
   tcp.peer-ip
   tcp.peer-name
   tcp.port
   tcp.put-string
   tcp.reader
   tcp.service
   tcp.set-buffering
   tcp.single-packet
   tcp.terminate-reader
   tcp.wait-for-input
   tcp.writer
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.