🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #162

Re: Charting over the Internet

#162
From: Colin B Maharaj
Date: Sat, 28 Jun 2008 12:20
28 lines
2242 bytes
Another thing is the architecture of the application

1. Pier to Pier - This is where you connect directly to the other 
party's computer. One of you will need to open up some ports (or one 
port) for the traffic to travel . Open up means that allow to
receive incoming TCP/IP connections.
This means that one is the client and the other the server.

  CLIENT ->---------------->- CLIENT (listen mode)


2. Through a Central Server.
This is where a central server is sitting on the internet and
is wait for connections. Once a connection comes in it will be registered
as one in a chat session or chat room. Then another connects to
the server and registers as well and then the both parties chat
though the central server.
The advantage is that the clients do not have to have TCP/IP ports
opened up. The disadvantage is that it is more complex.
Matter of fact this architecture is how most chat servers do their
thing even yahoo chat, msn, etc..
CLIENT ->------------>- SERVER -<-----------<- CLIENT



Zahir Saleh wrote:
> Hello!
> I need to develope an application so that i can chat over the internet. I am able to use TServerSocket and TClientSocket to develope an application to chat on a local area or WAN. How do i do this over the internet.
Technical Details
Message-ID: <48662c9d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <4862566e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,381fd8169f5f2dc2
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 28 Jun 2008 08:20:45 -0400
From: Colin B Maharaj <noreply@myhost.com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Charting over the Internet
References: <4862566e$1@newsgroups.borland.com>
In-Reply-To: <4862566e$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 080628-0, 06/28/2008), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 190.58.98.8
Message-ID: <48662c9d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1214655645 190.58.98.8 (28 Jun 2008 05:20:45 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!news.isoc.lu!newsgroups.borland.com!not-for-mail