Solved

TCP, chatting via internet

Posted on 1998-11-03
9
270 Views
Last Modified: 2010-04-06
I want to develop TCP/IP chatting program with Delhi 3. It did work in a local area network using Windows 95. Can this program work via internet, can I use internet connection as a TCP/IP media without knowing the low level of TCP/IP sockets. If the answer is yes, then how ?

Another question is when I want to distribute such program ( contain TCP component ) which library I must distribute with my application ?

Thanks in advance.

Motaz.
http://members.wbs.net/homepages/a/z/z/azzoz.html
0
Comment
Question by:Motaz
  • 4
  • 3
  • 2
9 Comments
 
LVL 4

Expert Comment

by:BoRiS
ID: 1345536
Motaz

If your program works on true TCP/IP connection it sould work across the internet as long as the server app is running on the same IP address all the time then the client apps can connect to that IP address and you should be able to chat away...The sockets/ports can be difined and all parts of the app connect through it...

eg
IP: 196.34.123.56
Port: 5789

The files you need to distribute with your app are any Dll's etc that are required by your app, the best way to do it is click on the tcpip component (if it's delphi's one) and push F1 for help then check for distribution...

Later
BoRiS
0
 
LVL 7

Author Comment

by:Motaz
ID: 1345537
Thanks Boris.
I use Delphi 3 TCP compont. For example the tcp chatting program which shipped with Delphi, can it work via internet ?

Motaz.
0
 
LVL 4

Expert Comment

by:BoRiS
ID: 1345538
Motaz

As I mentioned before, yes it can, but I suggested you use a component called wsockets it the best to use for app of this nature, I have written my own chat already and it works great across the internet

wsockets can be found on www.torry.ru or the delphi super page...

Later
BoRiS
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 7

Author Comment

by:Motaz
ID: 1345539
Can you send to me that component ?

motaz1@yahoo.com
0
 
LVL 7

Author Comment

by:Motaz
ID: 1345540
Thanks very mush Boris.
0
 
LVL 4

Accepted Solution

by:
BoRiS earned 10 total points
ID: 1345541
Motaz

My pleasure, enjoy the chat program (written it is no easy job)....

Later
BoRiS
0
 
LVL 3

Expert Comment

by:bryan7
ID: 1345542
Boris.. can you tell me more about the chat program you made ?
I mean, speed,( with only 2 users on, directly pc-pc ), features..

is it easy to make a chat program ?
( I mean the code to manage connection etc.. )

bryan

0
 
LVL 4

Expert Comment

by:BoRiS
ID: 1345543
bryan7

The speed is very fast and supports unlimited users over a lan or internet...

As for is it easy, I will be totally honest NO the server connection is easy but the client side is very involved and it took me about 4 months...but it works maybe i'll send you a copy of the client and we can see the speed if you connect to my server, but I still need to work on the server app...

Later
BoRiS
0
 
LVL 3

Expert Comment

by:bryan7
ID: 1345544
.. emm.. I didn't understand one thing:

connect to your server ?

How  would I do s single chat program for only 2 users, directly pc-pc ?
so it's fast and secure.

bryan

0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

831 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