🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdMappedPortTCP Question

#3845
From: Remy Lebeau (TeamB)
Date: Thu, 02 Jun 2005 23:55
13 lines
1329 bytes
"Omar Zelaya" <ozelaya2010@hotmail.com> wrote in message
news:429f8452@newsgroups.borland.com...

> How can i get the ip address of the client thats connects
> to the TIdMappedPortTCP Component?

The same way you do with any other Indy server - via the
AThread->Connection->Socket->Binding->PeerIP property in any event handler
that has a TIdPeerThread (Indy 9) or TIdContext (Indy 10) object available..


Gambit
Technical Details
Message-ID: <429f9d91$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <429f8452@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f0ee7f4f2e9c0004
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <429f8452@newsgroups.borland.com>
Subject: Re: TIdMappedPortTCP Question
Date: Thu, 2 Jun 2005 16:55:48 -0700
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <429f9d91$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117756817 68.69.17.41 (2 Jun 2005 17:00:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail