Using Serialization with Sockets

Abstract

Shows how to use sockets and serialization for sending and receiving objects.

In this example, the current date is sent from the client to the server. The file Client.java provides the code for sending the date and the file Server.java provides the code for receiving the date. The Server is the local host machine.

Additional Information:

Source Files

Running the Example

List of Examples