Working with Sockets

  • Quentin CharatanEmail author
  • Aaron Kans
Part of the Texts in Computer Science book series (TCS)


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.

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.University of East LondonLondonUK

Personalised recommendations