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.
A network is a collection of computers that can communicate with each other. Depending on how wide the coverage is, a network can ...