O'Reilly logo

Java I/O, NIO and NIO.2 by Jeff Friesen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required