•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 427,491 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,436 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 2862 | Replies: 7 | Solved
![]() |
•
•
Join Date: Oct 2006
Posts: 9
Reputation:
Rep Power: 0
Solved Threads: 0
Hi everyone
I have to write client/server client/client chat program for at least three machines(users) connected together to chat using java
My questions are
1. Do i need to have a server installed ina one of the machines.
2. Do i have to run the server side onf the application on the server or can i jusr run either(i.e the client application and the server applcation) on any machine
thanks.
I have to write client/server client/client chat program for at least three machines(users) connected together to chat using java
My questions are
1. Do i need to have a server installed ina one of the machines.
2. Do i have to run the server side onf the application on the server or can i jusr run either(i.e the client application and the server applcation) on any machine
thanks.
That is a pure personal choice design question. If it is going to be local intranet anyway, you could do simple multicast and let each "client" receive and broadcast the messages themselves, without any kind of a server.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,467
Reputation:
Rep Power: 11
Solved Threads: 296
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 18
Solved Threads: 199
Or any of a lot of others. This is a very common example of the networking capabilities of Java used in many programming courses either as an assignment or as a case study.
The fun is figuring it out yourself rather than taking some ready made solution and trying to make it look like something you made yourself
The fun is figuring it out yourself rather than taking some ready made solution and trying to make it look like something you made yourself
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 18
Solved Threads: 199
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,467
Reputation:
Rep Power: 11
Solved Threads: 296
•
•
•
•
hello peter ..
this side jeet..
peter actully write now i am working on chatting programe.. so i need help about it ...if u have a script related chatting using java.... frowarded me ..
thannx..........
As per me original post, get your hands on the book and learn how to do it. Besides I do not have any scripts, but I had long time ago code examples from that book. You can actualy get examples if you register with deitel website. However without book explanation they are useless for beginner and your teacher will find it out
Last edited by peter_budo : May 12th, 2008 at 9:59 am. Reason: typo
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Chatting Program - Throws IO Exception (Java)
- Help with programming a chat program. (Urgent) (Visual Basic 4 / 5 / 6)
- How do i do chat program using MFC (Microsoft Foundation Classes) and Visual Basic? (Visual Basic 4 / 5 / 6)
- chat program concept using c++ (C++)
- Chat program (Java)
- chat program (JSP)
Other Threads in the Java Forum
- Previous Thread: about serial cable communication using Java
- Next Thread: Connecting Database to my Mobile



)
Linear Mode