Re: HTTPServerCommandGet in CBuilder

Giganews Newsgroups
Subject: Re: HTTPServerCommandGet in CBuilder
Posted by:  Remy Lebeau \(Indy Team\) (
Date: Fri, 31 Aug 2007

"avmih" <adv_g…> 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.




In response to

HTTPServerCommandGet in CBuilder posted by avmih on Fri, 31 Aug 2007