🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Client Address

#2578
From: Colin B Maharaj
Date: Sat, 11 Mar 2006 19:14
13 lines
1303 bytes
Colin B Maharaj wrote:
> Hi all I am using an Indy server and need to get the IP address of the 
> remote AThread connection, or the client that is connecting to my 
> server. This is while executing in on Execute.
> 
> IdTCPServer1Execute(TIdPeerThread *AThread)
> 
> Thanks for anyhelp....


ok, I think it is this....

AThread->Connection->Socket->Binding->PeerIP;
Technical Details
Message-ID: <441321ab$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!ecngs!feeder.ecngs.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4412b840$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2533cb5f999c75d9
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 11 Mar 2006 15:14:57 -0400
From: Colin B Maharaj <noreply@myhost.com>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Client Address
References: <4412b840$1@newsgroups.borland.com>
In-Reply-To: <4412b840$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 201.238.76.141
Message-ID: <441321ab$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142104491 201.238.76.141 (11 Mar 2006 11:14:51 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news.glorb.com!ecngs!feeder.ecngs.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail