Hello Wilfried,

Thank you for the reply.
I am not sure how to determine which one is my
real address ( should be the right
one) so I thought I would just broadcast on all
interfaces (including the ones installed by vmware
and the wired connection) and I hoped
would work.

It looks like the simple solution is to broadcast on
all interfaces one by one with and set the
LocalAddr to each of the local IPs. I'll try if this

Is there an easy way to get default gateway and subnet mask?

Best regards,

Tuesday, April 5, 2005, 3:18:17 AM, you wrote:

WM> Hello Jack,

WM> Seems you have a subnet mask of /16
WM> Then the broadcast ip has to be:
WM> If mask is /16 then it has to go out on all interfaces (I never tryed
WM> this).

WM> ---
WM> Rgds, Wilfried
WM> http://www.mestdagh.biz

WM> Monday, April 4, 2005, 20:26, Jack wrote:

>> Hello Francois and all,

>> I am trying the UDP sender (broadcaster) demo.
>> I have multiple interfaces on my PC:
>>   wired (disconnected)
>>   wireless (
>>   two virtual interfaces installed by vmware
>>     (,

>> My LAN is on the 192.168.1 subnet. However, when I do a
>> UDP broadcast with the sample, the UDP packet actually
>> goes to the 192.168.88 subnet. It seems that setting
>> LocalAddr to doesn't make it broadcast on all
>> interfaces. Any easy way to fix it? I know I can do
>> a broadcast on all interface by setting the LocalAddr
>> to each of them. I wonder if there is a simple way.

>> -- 
>> Best regards,
>> Jack

To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to