| < Day Day Up > |
|
In this chapter, we investigate a variety of topics that lie beyond the basics of Sockets programming. We look at multi-homing, name resolution, error handling, blocking and nonblocking communication, and many other topics of Sockets application development. Although advanced, these topics are important for the development of efficient and effective Sockets applications. All code for this chapter can be found on the companion CD-ROM at /software/ch6.
A number of disparate topics are discussed in this chapter; some are useful in everyday applications, whereas others are useful only in niche applications. The advanced Sockets programming topics covered here include:
Out-of-band (OOB) data
Nonblocking sockets
Determining peer socket closure
Resolving a domain name to an IP address
Writing servers for multi-homed nodes
Timing out a socket connect
Data framing
Connectionless and connected datagram sockets
Timing out a read or write operation
Determining peer information
Determining the protocol argument for socket
Identifying service ports and protocols
| < Day Day Up > |
|