Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : Re: TIdSimpleServer or TIdTCPServer
| Subject: | Re: TIdSimpleServer or TIdTCPServer |
| Posted by: | "Philip von Melle" (philip.vonmel..@globetrotter.de) |
| Date: | 26 Feb 2007 07:59:19 |
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>> IdSimpleServer.BoundPort := 20007;
>
> At no point are you sending that Port to B. You should do so. That
> way, the Port can be used more dynamically, which is very important
> when firewalls and routers are involved.
In this case B's protocol explicitly specifies that A needs to listen on
port 20007 during A's request is being processed by B.
Thanks a lot!
Philip