[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Chat project

Posted on 2006-10-28
9
Medium Priority
?
1,297 Views
Last Modified: 2008-03-15
Hi

I want to write me a Lan p2p multiuser chat program (with maybe an internet connection possible). I know how to do everything except client to client connection and info broadcasting. So I would appreciate any help with the connections/bradcasting (probably done with UDP). The code should be written using Indy 10 or ICS.

Thanks for any help.
0
Comment
Question by:szafran81
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 17828302
Ares is popular p2p application written in Delphi, it's open source project, so you can help to get started
http://sourceforge.net/projects/aresgalaxy/
0
 

Author Comment

by:szafran81
ID: 17828613
@mnasman
i only need a chat app (that works without a dedicated server app) not a p2p file sharing app, and also... ares uses IRC as chat so it's useless in my case.
0
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 2000 total points
ID: 17828784
sorry, then look at this article, it may help you, it has sample for p2p chat

Guide to Peer-2-Peer
http://bdn1.borland.com/article/borcon/files/3214/paper/3214.html

also take a look at MsgConnect, it's dedicated for p2p application,
http://www.eldos.com/msgconnect/desc.php
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 11

Expert Comment

by:calinutz
ID: 17828922
0
 

Author Comment

by:szafran81
ID: 17829026
as i can see no1 here ever wrote that kind of app.

if i had time to analize all those sources to get few simple connection routines than i wouldn't write about it here.

btw calinutz chatter is not multiuser and fbchat is server based.
0
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 17830690
take a look at mnasman's link, and then tell us which architecture you would like to use
(brokered, decentralised, equal peer or super peer)
The solution depends on this decision.
At its' simplest level (1 lan), a UDP broadcast will suffice, whereby each peer simply says
"oh, something is talking to me", and makes a note about that connection
0
 

Author Comment

by:szafran81
ID: 17973670
Ok... lets put it more simple... let's say that i need an app for just lan connections... the app after launching should check in some way if there is another app present on the lan that has server abillities, if not than it should take over and make itself a server, if there allready is a server than connect to it. and if the server dissapears than negotiate with other clients (eg. prioritize which app's runtime is longer) and make another server. I think that Windows WINS server uses similar mechanizm.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 21133075
Forced accept.

Computer101
EE Admin
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question