What XTI can do
XTI allows a process to perform a
variety of functions associated with network communication.
All of these functions operate on a ``transport endpoint.''
A transport endpoint is a link between a transport
provider and the process that wants to communicate over the network
using that provider.
The transport endpoint is always identified
by a file descriptor
(an integer index into the system file descriptor table).
Specifically, a process can call XTI functions
(listed in parentheses) to
- 
create a transport endpoint
(t_open)
 - 
associate a suitable address with
the transport endpoint (t_bind)
 - 
request to connect to another
process (t_connect)
 - 
listen for a connection request from
another process (t_listen)
 - 
accept another process's request
to connect (t_accept)
 - 
reject another process's attempt
to connect (t_snddis)
 - 
send data to a process
(t_snd or
t_sndudata)
 - 
receive data from a process
(t_rcv or t_rcvudata)
 - 
disassociate an address from the
transport endpoint (t_unbind)
 - 
detect error conditions raised by the
transport provider (t_look)
 - 
negotiate various options available from
the transport provider (t_optmgmt)
 - 
request to end a connection with
another process (t_snddis)
 - 
await a request from another process
to end the connection (t_rcvdis)
 - 
delete a transport endpoint
(t_close)
 - 
get the current state of the transport provider
(t_getstate)
 - 
get current information about the transport provider
(t_getinfo)
 
Next topic: 
Network programming concepts
Previous topic: 
Why use XTI?
© 2003 Caldera International, Inc.  All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003