DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

ticots(7sock)


ticots -- connection-oriented loopback transport provider

Synopsis

#include <sys/socket.h>

s = socket(AF_UNIX, SOCK_STREAM, 0);

#include <xti.h>

t = t_open("/dev/ticots", O_RDWR, infop);

Description

/dev/ticots is a connection-mode transport provider offering service of type T_COTS.

In the synopsis, s and t are file descriptors for the respective endpoints on calls to functions opening a file descriptor for a transport endpoint.

/dev/ticots is typically invoked as the implied device in a call to socket or as the first argument in a call to t_open and is used to identify the transport protocol that will supply a connection-based transport service.

The device known as /dev/ticots is a ``loopback transport provider,'' that is, a stand-alone network at the transport level. Loopback devices are transport providers in every sense except one: only one host (the local machine) is ``connected to'' a loopback network.

/dev/ticots may be used as a clone device to find a minor available device for the transport user. It presents a TPI (STREAMS-level) interface to application processes and is intended to be accessed via the TLI or socket (application-level) interface. It supports address spaces consisting of ``flex-addresses,'' that is, arbitrary sequences of octets, of length > 0, represented by a netbuf structure, described in intro(3xti).

Files


/dev/ticots
loopback transport provider

/usr/lib/libnsl.so
Network Services Library (shared object)

/usr/lib/libsocket.so
Socket Library (shared object)

/usr/lib/libxti.so
Transport Interface Library (shared object)

Usage

Loopback transports support a local IPC mechanism through the TLI and sockets interfaces. Applications implemented in a transport provider-independent manner on a client-server model using this IPC are transparently transportable to networked environments.

/dev/ticots supports the same service type (T_COTS) supported by the OSI transport-level model and its use is encouraged.

Return values

The value returned by a call to open an endpoint with /dev/ticots is a file descriptor characterizing the endpoint.

References

clone(7), intro(3xti), socket(3sock), t_open(3xti), t_rcvdis(3xti), ticlts(7sock), ticotsord(7sock)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004