Solved

Chat project

Posted on 2006-10-28
9
1,272 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
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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi TcxGrid group footer summary 3 276
Printing problem 2 95
Run video youtube webbrowse 10 62
How to Get Images From Server to Client using App Tethering 1 12
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
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…

821 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