HP 9000 Networking XTI Programmer's Guide

23
XTI over TCP/UDP Networks
Summary of TCP/UDP Programming Differences
UDP supports the following profile:
UDP Transport Profile
info->addr sizeof(struct sockaddr_in)
info->options 256
info->tsdu 9216
info->etsdu -2
info->connect -2
info->discon -2
info->servtype T_CLTS
info->flags 0
(Where: -2 means unsupported, -1 means indefinite length.)
The UDP profile’s addressing and options are similar to TCP’s addressing
and options. UDP supports a maximum TSDU of 9216 bytes, that is, this
amount of data can be sent in one t_sndudata() and received on the remote
node with t_rcvudata(). The T_MORE flag can indicate that several
t_rcvudata() calls are required to receive a complete tsdu. UDP does not
support expedited data or data on connect or disconnect requests (obviously
for a connectionless protocol). A servtype of T_CLTS means that UDP
provides a Connection-Less Transport Service. t_sndrel() and t_rcvrel() are
not supported, and t_close and close() result in an immediate termination of
the data channel with no guarantee that data in transit will be received.
Note that a t_snddis() command results in an abrupt (non-orderly)
termination of the data channel for all protocol types including
T_COTS_ORD.