Board index » delphi » Indy 9 and TidMappedPortTCP

Indy 9 and TidMappedPortTCP

Hello all,

In Indy8 I used BeforeClientConnect, what I need to use now ?

Thanx

 

Re:Indy 9 and TidMappedPortTCP


Quote
> In Indy8 I used BeforeClientConnect, what I need to use now ?

TIdMappedPortTCP:

1) Create OutboundClient, set MappedHost and MappedPort
*2) OnConnect
3) OutboundClient.Connect
*4) OnOutboundConnect - for success AException = NIL, for error AException =
some indy exception

Other Threads