Cesco
2005-12-01 17:21:29 UTC
Hello,
Using the IdMappedPortTCP, I can't find a way to map a host and port based
on the incomming request?
I'm using Delphi 6 and Indy 9.
I have two services with different ports on the same server, build with
TidHttpServer
With different incoming request I want to go to the right service.
I thought I could use the TIdMappedPortTCP, but this component has just one
mappedport. I can't change then mappedport or mappedhost in the Onconnect
event, because the connection to the mappedhost is already maken in the
OnConnect event.
Any ideas?
regards,
Cesco
Using the IdMappedPortTCP, I can't find a way to map a host and port based
on the incomming request?
I'm using Delphi 6 and Indy 9.
I have two services with different ports on the same server, build with
TidHttpServer
With different incoming request I want to go to the right service.
I thought I could use the TIdMappedPortTCP, but this component has just one
mappedport. I can't change then mappedport or mappedhost in the Onconnect
event, because the connection to the mappedhost is already maken in the
OnConnect event.
Any ideas?
regards,
Cesco