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

tcp.single-packet

 
 

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

Returns an I/O protocol object that implements the single-packet protocol.


Declaration

  define external tcp.io-protocol function tcp.single-packet


Purpose

This function is used to implement the single-packet protocol. In this protocol, data is packaged into a single-length encoded packet. The packet is prefixed with its length. The length is the number of bytes in the packet represented as a 32-bit network-ordered quantity.

You cannot use this protocol to derive a sink from a connection object. To do so, use tcp.put-string from the TCP/IP library.

        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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:50 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.