CHAPTER 15

Networking

What is networking? Is it connecting more than one machine? Networking is about communication between two processes which may be on different machines.

15.1 NETWORKING CONCEPTS

What is required for networking? There are various things which are required to achieve communication between two processes across machines. These functionalities have been divided into various layers. We have the OSI standard, which has specified seven layers for the communication between two processes across machines.

15.1.1 Various Layers/Protocol in Communication

Most commonly on the Internet the TCP and UDP-based services are available, and here we discuss these from the point of view of these IP-based protocols, which are supported in the Java ...

Get The class of Java 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.