HP Rp7410 BSD Sockets Interface Programmer's Guide - Page 124
Creating/Terminating BSD Sockets Connections Using UNIX
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 124 highlights
Table 6-1 Using UNIX Domain Stream Sockets Overview Overview UNIX Domain (AF_UNIX) stream sockets provide bidirectional, reliable, unduplicated flow of data without record boundaries. They offer significant performance increases when compared with the use of local internet (AF_INET) sockets, due primarily to lower code execution overhead. The following table lists the steps involved in creating and terminating a UNIX Domain BSD Sockets connection using stream sockets. Creating/Terminating BSD Sockets Connections Using UNIX Domain Stream Sockets Client Process Activity System Call Used Server Process Activity System Call Used create a socket request a connection send data socket() connect() write() or send() create a socket bind a socket address listen for incoming connection requests socket() bind() listen() accept connection accept() receive data read() or recv() 124 Chapter 6