|Subject:||Re: HTTPServerCommandGet in CBuilder|
|Posted by:||Remy Lebeau \(Indy Team\) (firstname.lastname@example.org)|
|Date:||Fri, 31 Aug 2007|
"avmih" <adv_g…@yahoo.com> wrote in message
> How can I use in CBuilder->HTTPServerCommandGet,
> TIdIOHandlerSocket in order to obtain Binding->PeerIP
> and Binding->PeerPort?
The OnCommandGet event handler has an AThread (Indy 9) or AContext (Indy 10)
parameter. That object has a Connection property of type TIdTCPConnection,
which has a Socket subproperty of type TIdIOHandlerSocket.
HTTPServerCommandGet in CBuilder posted by avmih on Fri, 31 Aug 2007