CHAPTER 5Java Programming for Networking Applications

“Nothing is so embarrassing as watching someone do something that you said couldn't be done.”

—Sam Ewing

5.1 Introduction

Computer networks have become an increasingly integrated part of our lives. With the Internet, the fast-growing, globalized computer network of networks, we are able to do shopping, banking, emailing, messaging, and booking flights or hotels online, all with just a few mouse clicks. The Internet has revolutionized our lives. According to the Internet Live Stats web site (http://www.internetlivestats.com/internet-users/), there are more than 4 billion Internet users today.

The magic behind this Internet phenomenon is a technology known as TCP/IP, which was developed through the U.S. Advanced Research Projects Agency (ARPA)'s research project ARPANET in the 1960s. ARPA is a research arm of the United States Department of Defense, so TCP/IP has also been called the Department of Defense (DoD) model.

The TCP/IP model consists of a whole suite of protocols, built around two core protocols: Transmission Control Protocol (TCP) and Internet Protocol (IP). IP defines a scheme of devices addresses and delivers data ...

Get Practical Java Programming for IoT, AI, and Blockchain 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.