Simple, silly question...
Okay, I have this situation that I hope someone here can help me out on.
Basic Java question basically:
I have a server listing on port x for client connections. It receives and
accepts 2 client connections (though 2 is only an abitrary number and could
easily be 10 or 100 or whatever). Now, client A wants to send a message
to Client B. So the person running Client A types the message in the space
provided and presses SEND. How do I get the message to client B?
Is this as simple as it sounds and I just keep track of the names of each
and every socket and send the message to the appropriate one or is it more
complicated than that. Any help would really be appreciated. I would imagine
that this functions similar to the Unix Talk utility...
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center