🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdMappedPortTCP Question

#3844
From: Omar Zelaya
Date: Thu, 02 Jun 2005 22:34
20 lines
1464 bytes
i have found how to do it.

Thanks

"Omar Zelaya" <ozelaya2010@hotmail.com> wrote in message 
news:429f8452@newsgroups.borland.com...
> 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: <429f8995@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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: "Omar Zelaya" <ozelaya2010@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <429f8452@newsgroups.borland.com>
Subject: Re: TIdMappedPortTCP Question
Date: Thu, 2 Jun 2005 16:34:07 -0600
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 200.30.163.212
Message-ID: <429f8995@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117751701 200.30.163.212 (2 Jun 2005 15:35:01 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail