posted 7 years ago
Ok, some hints if my guess is correct in a top post.
On a program (server) side, you'll have to use likely these classes:
BufferedReader, BufferedWriter, InputStreamReader, OutputStreamWriter, ServerSocket, Socket
1. Very first step likely will be on your program to create a server socket object and wait for connection on specific port (if it is not provided, then pick some you like).
On a user (client) side:
BufferedReader, BufferedWriter, InputStreamReader, OutputStreamWriter, Socket
1. On client - create a socket by specifying your local machine host address and port you want to connect (on server and client they have to match).
The rest of flow are pretty clear described in english, what has to be done.
Ross, do you have any specific questions about your assignment, which you cannot understand?
Probably mostly of the guys would suggest you still to start with a pencil and the paper, it would save some your time later, if you'd get lost.