The example code in the previous chapters have all used the
write(2) system calls to perform read and write operations on sockets. The only exception to this rule was
sendto(2) function calls, which were used to read and write datagrams. There are application disadvantages to using the simple
write(2) calls, however.
This chapter will explore
How to associate a socket with a
FILE stream using
How to create and apply read and write
Issues concerning closing streams associated sockets
Choosing and establishing the correct buffering technique for your
The interrupted system call issue
Mastery of these topics will give you additional ways ...