[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 809
  • Last Modified:

need a simple, open sourcd chat/server

Hi,

I need a simple opensource chat/server that i can compile and learn from. works with delphi 6 or 7.

Must have server and a client. Simple the better, but all examples will be considered.

Many thanks. 500 points as i need this asap. cheers
0
966
Asked:
966
  • 14
  • 8
1 Solution
 
Mahdi78Commented:
0
 
Mahdi78Commented:
This with Indy
http://www.delphifr.com/codes/CHAT-INDY-10-CLIENT-SERVEUR_38404.aspx

this is other
http://www.delphifr.com/codes/MON-PREMIER-CHAT-SERVER-CLIENT_17244.aspx

Remember, chat client/server via Internet, server need Static IP ;)
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
966Author Commented:
that devarticles one is the one im looking for but i cant get a working DL link...
0
 
966Author Commented:
ah its just serverside, i need both client and server. The ones that that FR site looked infected. anymore?
0
 
966Author Commented:
Also, chat client must compile and server must compile to have rooms and also nickname list, "enternickname" ect.. and show namesin list when enter a room. The basic chat really.
0
 
Mahdi78Commented:
I think Indy Client/server is simple and you find what you want with it,
It is single application, is Client and the same time Server, you must connect with first as server and with others as clients
i attached snapshot and compiled sample
 

Indy.jpg
client.exe
0
 
966Author Commented:
could i have the source for that also in english please if possible so i can take a look at it?
0
 
966Author Commented:
also is it possible have give me two .exe  2 for server and 1 for client. i want to run server on another computer not client. please thanks.
0
 
966Author Commented:
i want to compile source for server and exe it on PC1.. then on pc 2, and PC 3 use clients. so i need seperate server and client.
0
 
966Author Commented:
i tested that example and all is fine, its what i need. Please clould you seperate it if you can so i can have the source for client and a seperate zip for sever so i can learn the protocol withought getting confused.

id really appreciate this mate.!!!!!
0
 
Mahdi78Commented:
I translated and separated client and server
Do no forget my copyright ;)
Indy.exe
0
 
Mahdi78Commented:
some syntax error, change diconnected to disconnected  and diconnect to disconnect
0
 
966Author Commented:
Thanks friend, your help is great. All credits will remain.
0
 
966Author Commented:
can u send me compoentn IDContext.dcu plz
0
 
Mahdi78Commented:
It is source of Indy component
http://www.koders.com/delphi/fid9ADDF362241CF0CCBB88E2FDEAD8554E3C4AE4E1.aspx?s=proxy
You use Delphi 7 i think it is source of Indy V.10 you can download Indy from Indyproject
http://www.indyproject.org/index.en.aspx
0
 
966Author Commented:
great cheers mate ill get it. By the way, when i connect with the client, what is the part of code that imports the users into the listbox ?

Ill check it out myself cos im going to strip it down and learn and rebuild it. keeping your credits in ofcourse.
0
 
966Author Commented:
im having probelms getting idcontext. is there a DL link so i can install it into delphi, or do i copy that code and can you tell me what i need to do to get idcontext to work, as ive had this problem before and given up.
0
 
966Author Commented:
its ok i think i sorted it
0
 
966Author Commented:
dam, now i get:

[Fatal Error] IdContext.pas(81): File not found: 'IdObjs.dcu'
0
 
Mahdi78Commented:
I compiled projects with D2009, it work because it use indy version 10, you use Delphi 7 using Indy version 9, so i suggest you to download Indy 10 from http://www.indyproject.org/index.en.aspx
0
 
966Author Commented:
Hmmm there are many many missing. What is the indy you used when you compiled it? do you have a link to the exact version you have?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

  • 14
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now