|
-
Network Program Help
Hello everyone,
I've got this great idea for a program but don't really know how to get
going on it. I am essentially working on a "Chat" Program. I've
created a simple basic command line chat program where one computer
acts as a "Server" and a client connects to it over the network. The
two computers can then send messages back and forth to the other. This
basically follows the Sun Java example (KnockKnockServer and
KnockKnockClient). Now comes for the customization that I don't really
know where to begin. I want multiple clients to connect to the
"Server", and when the "Server" ask the clients a question all the
clients get the same question. When the clients get the question they
can answer multiple times until the user at the "Server" stops
accepting answers. Then the Clients' last answer is recorded.
My question is basically "how?" I've tried to create different threads
(java.sun KKMultiServer) but this isn't really what I want and I don't
know how to change it to make it what I want. Does anyone have any
Ideas, or where I should look for answers?
Thanks,
-Drew
Similar Threads
-
By kartik_online in forum Java
Replies: 0
Last Post: 02-27-2005, 12:47 AM
-
By mheasen in forum Architecture and Design
Replies: 0
Last Post: 03-20-2002, 09:24 AM
-
By Gordon Reichhardt in forum VB Classic
Replies: 2
Last Post: 01-08-2002, 10:06 AM
-
By W.Pierce in forum VB Classic
Replies: 1
Last Post: 12-11-2001, 08:28 AM
-
By aoshell in forum Enterprise
Replies: 0
Last Post: 10-13-2000, 09:51 AM
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