|Subject:||Re: Remote IP from Connect with TIdHTTPServer|
|Posted by:||Craig Williams (williams.cra…@earthlink.net)|
|Date:||Fri, 2 Jan 2004|
Thanks. That's what I'm using. I was hoping to cut them off before that.
Is there a way to get it from the thread ID in Connect() or
"Remy Lebeau (TeamB)" <email@example.com> wrote in message
> "Craig Williams" <williams.cra…@earthlink.net> wrote in message
> > Is there a way to get the Remote IP from the connection request?
> procedure TForm1.IdHTTPServer1CommandGet(AThread: TIdPeerThread;
> ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
> PeerIP: String;
> PeerIP := AThread.Connection.Socket.Binding.PeerIP;
Re: Remote IP from Connect with TIdHTTPServer posted by Remy Lebeau (TeamB) on Fri, 2 Jan 2004