🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TIdMappedPortTCP Question

#3843
From: Omar Zelaya
Date: Thu, 02 Jun 2005 22:11
13 lines
1285 bytes
Hi,

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

I want to only allow some client ip address to connect to the 
TIdMappedPortTCP component, i think this con be done on the OnConnect Event, 
but i dont know how to get the ip address of the client and then disconnect 
it if the ip address is not allowed.

Thanks in advance

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

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f0ee7f4f2e9c0004,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Omar Zelaya" <ozelaya2010@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: TIdMappedPortTCP Question
Date: Thu, 2 Jun 2005 16:11:39 -0600
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 200.30.163.212
Message-ID: <429f8452@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117750354 200.30.163.212 (2 Jun 2005 15:12:34 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail