Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: Routing messages

www.cryer.info
Managed Newsgroup Archive

Re: Routing messages

Subject:Re: Routing messages
Posted by:"Miraka" (ak_..@abv.bg)
Date:Tue, 22 Aug 2006 23:57:52

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:44eb43f1@newsgroups.borland.com...
>
> "Mirakq" <ak_47@abv.bg> wrote in message
> news:44eaed36@newsgroups.borland.com...
>
>> using TIdUDPServer - OnUDPRead event:
>> will the data be routed to the client that has sent it (if it doesn't
>> have
> a
>> real IP address) by using the ABinding.SendTo(ABinding.PeerIP,
>> ABinding.PeerPort, cmd, SizeOf(cmd)); method ?
>
> The PeerIP is always the real IP address of the sender.  If the client is
> behind a router, then the router is the Sender that TIdUDPServer will see,
> so the IP will be the router's IP.  As such, the router would need to have
> port forwarding configured in order to deliver inbound data to the
> appropriate client.
>
>
> Gambit
>
>

I understand that but it should be possible to for the server  just to reply
through the open socket or something (without port forwarding because the
sysadmin should be a friend of yours to forward a port to your inner
address).

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive