🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
6 messages
6 total messages Started by Zahir Saleh Wed, 25 Jun 2008 14:30
Charting over the Internet
#250
Author: Zahir Saleh
Date: Wed, 25 Jun 2008 14:30
3 lines
1086 bytes
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.
Re: Charting over the Internet
#151
Author: Remy Lebeau (TeamB)
Date: Wed, 25 Jun 2008 16:29
16 lines
1650 bytes
"Zahir Saleh" <zsquresh@yahoo.com> wrote in message 
news:4862566e$1@newsgroups.borland.com...

> 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.

If you are already doing it over the LAN/WAN, then you already have 
everything in place to do it over the Internet as well, as far as your code 
is concerned.  It is just a matter of which IP address(es) you connect to, 
and whether you need routers/gateways installed in between to reach it/them.


Gambit 
Re: Charting over the Internet
#155
Author: Zahir Saleh
Date: Thu, 26 Jun 2008 05:26
7 lines
1318 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>.  It is just a matter of which IP address(es) you connect to, 
>and whether you need routers/gateways installed in between to reach it/them.

Interesting...Interesting indeed!
Is there any "Public" server i can use for a test?...I mean to test my code before I set up my own server? and what about the authentication issues? doesn't one need to identify ones self before getting access to an internet server?
Re: Charting over the Internet
#156
Author: Zahir Saleh
Date: Thu, 26 Jun 2008 14:38
2 lines
1279 bytes
To be more specific, I would like to use Sametime Lotus Notes server to chat using my App. If I use Lotus Notes Sametime Connect application, I provide: sametime server name, User name and password. Now I need to develope my application and do the chating instaed of the applicaion supplied by lotus....assist please.
Re: Charting over the Internet
#157
Author: Remy Lebeau (TeamB)
Date: Thu, 26 Jun 2008 19:06
16 lines
1446 bytes
"Zahir Saleh" <zsquresh@yahoo.com> wrote in message 
news:4863287f$1@newsgroups.borland.com...

> Is there any "Public" server i can use for a test?

No.  You have to set up your own server for that, since only you know how 
your chat protocol works.

> and what about the authentication issues?

You have to implement that in your communication protocol.  Your clients 
have to identify themselves when connecting to your server.


Gambit 
Re: Charting over the Internet
#162
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads