Solved

Chat project

Posted on 2006-10-28
9
1,281 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 500 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

733 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