Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Re: setting the local IP address

www.cryer.info
Managed Newsgroup Archive

Re: setting the local IP address

Subject:Re: setting the local IP address
Posted by:"Danna Tabak" (tabak_dan..@emc.com)
Date:17 Apr 2006 08:53:10

Yes, I am sure.

"Francois PIETTE [ICS - MidWare]" <francois.piette@overbyte.be> wrote:
>Are you sure there is an IP route from the second network card to the UDP
>destination ?
>If there is only a route from the first network card, then it is likely that
>the OS is smart enough to selct the correct network card to send the
>datagram.
>
>--
>francois.piette@overbyte.be
>The author for the freeware multi-tier middleware MidWare
>The author of the freeware Internet Component Suite (ICS)
>http://www.overbyte.be
>
>"Danna Tabak" <tabak_danna@emc.com> a écrit dans le message de news:
>4443b39b$1@newsgroups.borland.com...
>>
>> I would like to send UDP broadcasts through two different IP addresses.
>> The IP addresses are statically assigned to two separate physical ethernet
>> cards. I am using TIdUDPClient.    Binding.Assign(source) with source.ip
>> set to the desired local ip address in an attempt to force the packets out
>> the other card. But this doesn't seam to work. The packets are always
>> leaving from only one of the IP addresses. When I put breakpoints in the
>> Indy source code, it appears that the binding used to send the packet has
>> the correct IP address. Why is this happening?

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive