Re: HTTPServerCommandGet in CBuilder

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

"avmih" <adv_g…@yahoo.com> wrote in message
news:0B1E7EDFAE33E340adv_g…@yahoo.com...

> 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.

Gambit

Replies

None

In response to

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