Appendix    B

Sockets and Network Interfaces

Chapter 7 introduced the concept of a peer socket, which is a socket that is associated with a channel. Chapter 14 introduced the concept of a network interface. This appendix introduces sockets, network interfaces, and the APIs for interacting with these networking features.

Note  A network is a group of interconnected nodes (computing devices such as tablets, and peripherals such as scanners or laser printers) that can be shared among the network’s users. Networks often use TCP/IP (http://en.wikipedia.org/wiki/TCP/IP_model) to communicate between nodes. TCP/IP includes Transmission Control Protocol (TCP), which is a connection-oriented protocol; User Datagram Protocol (UDP), which is a connectionless ...

Get Java I/O, NIO and NIO.2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.