🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #970

Re: Messenger Application

#970
From: Hamid
Date: Thu, 02 Mar 2006 18:07
33 lines
2303 bytes
Thanx for your reply. When we connect to the internet by using an ISP, there maybe no valid IP available for the client. In this case how the messenger server can retrieve the client IP automatically in order to be able to make a connection with its client? Can I for example with an Indy HTTP client/server design such client/servers?

Thanx,


"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"Hamid" <hrz_mir@Yahoo.com> wrote in message
>news:44073079$1@newsgroups.borland.com...
>
>> How can I retrieve the complete IP of a client (the valid
>> IP and what that is behind a proxy server).
>
>There is no way to automatically determine the IP that is behind the proxy.
>The client will have to send it manually in a data packet after it connects.
>You can then compare it to the IP that the socket reports.  If they match,
>then no proxy is being used.
>
>> I would like to know how I can develop a client/server application
>> like messengers. It requires that the server have the complete address
>> of its client in order to send its messages to the server which is to be
>> listening in the client side.
>
>The socket will report the public IP that it sees itself attached to.  That
>is the IP that you always send data to.  The IP behind the proxy is not
>directly accessible, nor should you be trying to send data to it directly
>anyway when a proxy is present.  Always send to the proxy's IP.
>
>
>Gambit
>
>
Technical Details
Message-ID: <44074275$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44073079$1@newsgroups.borland.com> <440732dc$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,85a0193ddf7aaaf0
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Hamid" <hrz_mir@Yahoo.com>
Sender: "Hamid" <hrz_mir@Yahoo.com>
Reply-To: "Hamid" <hrz_mir@Yahoo.com>
Subject: Re: Messenger Application
Newsgroups: borland.public.cppbuilder.internet.web
X-User-Info: 87.107.29.35     
References: <44073079$1@newsgroups.borland.com> <440732dc$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44074275$1@newsgroups.borland.com>
Date: 2 Mar 2006 11:07:33 -0700
X-Trace: newsgroups.borland.com 1141326453 207.105.83.66 (2 Mar 2006 11:07:33 -0700)
Lines: 34
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail