K
KDawg44
Hi,
I have a task for a class i am in to write an instant messaging java
app that communicates with a server using RMI. The client has to have
two threads running, one to send out messages (communicate with server
to get information about the other client to send to and then open a
socket to that client's address) and another to listen for messages (a
serversocket accepting incoming messages from other clients).
I have used threads before but usually to allow concurrent connections
on a server and for some reason this is really messing me up.
Any advice on how to get my mind around this would be appreciated....
I know this is kind of vague but I am not exactly sure what else to
put down...
Thanks for any direction....
I have a task for a class i am in to write an instant messaging java
app that communicates with a server using RMI. The client has to have
two threads running, one to send out messages (communicate with server
to get information about the other client to send to and then open a
socket to that client's address) and another to listen for messages (a
serversocket accepting incoming messages from other clients).
I have used threads before but usually to allow concurrent connections
on a server and for some reason this is really messing me up.
Any advice on how to get my mind around this would be appreciated....
I know this is kind of vague but I am not exactly sure what else to
put down...
Thanks for any direction....