Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Dec : IdMappedPortTCP multiple hosts and ports

www.cryer.info
Managed Newsgroup Archive

IdMappedPortTCP multiple hosts and ports

Subject:IdMappedPortTCP multiple hosts and ports
Posted by:"Cesco" (cesco@nospamhetnet.nl)
Date:Thu, 1 Dec 2005 18:21:29

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

Replies:

www.cryer.info
Managed Newsgroup Archive