DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Interprocess communication using UNIX domain sockets

Connectionless sockets (UNIX domain)

To this point we have been concerned mostly with sockets which follow a connection-oriented model. However, there is also support for connectionless interactions typical of the datagram facilities found in contemporary packet-switched networks.

UDP datagram sockets provide only connectionless interactions. When using datagram sockets, the programmer does not have to issue a connect call before sending. A datagram socket provides a symmetric interface to data exchange. Datagram processes are still likely to be client and server, but there is no requirement for connection establishment. Each message includes the destination address.


Next topic: Sending from datagram sockets (UNIX domain)
Previous topic: Closing sockets and discarding queued data (UNIX domain)

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003