Spec-Zone .ru
спецификации, руководства, описания, API
|
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.
Java Technology |
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved. |