Solved

Chat project

Posted on 2006-10-28
9
1,288 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
Technology Partners: 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

Independent Software Vendors: 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!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

691 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