|
-
Multithread Server Woes
Hello everyone. I don't normally post on fora but I am really stuck!
THE PROBLEM.
I need to set up a server with multiple clients talking to each other. Sounds easy? Just a matter of setting up some Sockets with DataInputStream/DataOutputStream and some threads. Unfortunately I am having difficulty with this. Here are the steps I am taking to create my application:
Steps:
Get a client and a server to talk to each other. (I can do this)
Get multiple clients talking independently to a server. (I can do this)
Get multiple clients talking to each other via a server. (CAN'T GET PAST THIS STEP!)
As above, but with clients allocated turns to post in round-robin fashion.
As above, but with client input validated.
If someone could give me advice or a pointer to a resource to solve my problem I would be very grateful. For example: should I be using a Multicast rather than DataOutputStream to send messages from a server to simultaneous multiple clients?
cheers
Craig W
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks