This manual describes the different options for socket and XTI programming and explains them using a few simple examples. The sample programs show the use of SOCKETS or XTI functions both for connection-oriented communication applications using the TCP protocol and for connectionless communication applications using the UDP protocol.
The manual is structured as follows:
Chapters 2 to 5 provide an introduction to developing SOCKETS(POSIX) communication applications. Example programs are used to illustrate basic topics such as address structures, connection setup, data transfer and client/server communications.
Chapter 6 contains an alphabetic reference section with the user functions of the SOCKETS(POSIX) interface.
Chapters 7 to 9 provide an introduction to developing XTI(POSIX) communication applications. Example programs are used to illustrate basic topics such as connection setup, data transfer and client/server communications.
Chapter 10 describes the XTI trace.
Chapter 11 contains an alphabetic reference section with the library functions of the XTI(POSIX) interface.
Chapter 12 uses two example procedures to illustrate how you can compile and link the program you created.
Chapter 13 describes the Internet daemon inetd and the configuration files for Internet communications. The dependencies of SOCKET(POSIX) and XTI(POSIX) applications on the BS2000 transport system BCAM are also shown.
Chapter 14 describes the compatibility restrictions of the SOCKETS(POSIX) and XTI(POSIX) interfaces over the following interfaces:
socket/XTI interface on UNIX systems
socket interface in BS2000