Programming with socketsThe sockets interface was first introduced as part of the Berkeley 4.2A significant application base has been written using this interface. Socket support was added to UNIXSystem V Release 4 as part of theBSD/System V unification. The sockets interface is supported by the shared libraryin Release 6.0.0, which is based onUNIX System V Release 4.2 MP. Different approaches are possible within the sockets framework. This section discusses these approachesand then illustrates them with a series of sample programs. The programs demonstrate the use of both datagram socket and streamThis topic is divided as follows:The new issues raised by IPv6 support in Release 6.0.0 are fully covered in``Moving to IPv6''. No references are made to IPv6 in earlier topics to avoid confusingthose new to the sockets environment, who only need to understand the© 2005 The SCO Group, Inc. All rights reserved. SCO OpenServer Release 6.0.0 -- 02 June 2005