Cover Page by Budi Kurniawan

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

O'Reilly logo

Chapter 21

Java Networking

Computer networking is concerned with communication between computers. Nowadays, this form of interaction is ubiquitous. Whenever you surf the Internet, it is your machine exchanging messages with remote servers. When you transfer a file over an FTP channel, you are also using some kind of networking service. Java comes equipped with the java.net package that contains types that make network programming easy. We'll examine some of the types after an overview of networking. Towards the end of the chapter, some examples are presented for you to play with.

An Overview of Networking

A network is a collection of computers that can communicate with each other. Depending on how wide the coverage is, a network can be referred ...

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