Opening the book…
After studying this chapter, you will
- Understand some basics about networks.
- Know how to use Java’s URL class to download network resources from a GUI or console application.
- Be able to design networking applications, using the client/server model.
- Understand how to use Java’s Socket and ServerSocket classes.
One of the key strengths of Java is the support it provides for the Internet and client/server programming. In the previous chapter, we saw how to make Java programs transfer information to and from external files. Although files are external to the programs that process them, they are still located on the same computer. In this chapter, we learn how to transfer information to and from files that reside on a network. This enables programs to communicate with programs running on other computers. With networking, we can communicate with computers anywhere in the world.
This page titled 15: Sockets and Networking was last modified on Mon, 20 Sep 2021 15:41:47 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Ralph Morelli and Ralph Wade via source content that was edited to the style and standards of the LibreTexts platform.
The book could not be loaded just now.