|
Client Actions |
Close the socket |
|
|
try {
sock.close();
}
catch(IOException ioe) {
System.out.println("Close error: " + ioe.getMessage());
}
// Again, close() needs to be called on both sides of the connection, and the server should
// also be sure to close() the ServerSocket when it no longer wishes to accept client
// connections.
|
| See the "Links" link above to find out the sources of the proposed informations Pascal Vuylsteker / eScience / Computer Science / ANU |
Last modified: 22/3/2005
TOC - Print |
Send your comments at : <pvk@vuylsteker.net> |