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...
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL