DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Programming with sockets

Programming with sockets

The sockets interface was first introduced as part of the Berkeley 4.2 Software Distribution. A significant application base has been written using this interface. Socket support was added to UNIX System V Release 4 as part of the BSD/System V unification. The sockets interface is supported by the shared library libsocket.so in UnixWare, which is based on UNIX System V Release 4.2 MP.

Different approaches are possible within the sockets framework. This section discusses these approaches and then illustrates them with a series of sample programs. The programs demonstrate the use of both datagram socket and stream socket communication. This topic is divided as follows:


NOTE: The new issues raised by IPv6 support in UnixWare are fully covered in ``Moving to IPv6''. No references are made to IPv6 in earlier topics to avoid confusing those new to the sockets environment, who only need to understand the basic principles.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004