Abstract
By the end of this chapter students should be able to:
-
explain the terms client, server, host and port;
-
describe the client–server model;
-
explain the function of a socket;
-
distinguish between the Java Socket and ServerSocket classes and explain their function;
-
write a simple client–server application using sockets;
-
write a server application that supports multiple clients;
-
write multi-threaded client-server applications;
-
create client and server applications that utilise a JavaFX interface.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Charatan, Q., Kans, A. (2019). Working with Sockets. In: Java in Two Semesters. Texts in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-319-99420-8_23
Download citation
DOI: https://doi.org/10.1007/978-3-319-99420-8_23
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-99419-2
Online ISBN: 978-3-319-99420-8
eBook Packages: Computer ScienceComputer Science (R0)