Hello Jack, > Is there an easy way to get default gateway and subnet mask?
Dont know but check IPHelper on user made page. I'm pretty sure it is put in it. --- Rgds, Wilfried http://www.mestdagh.biz Tuesday, April 5, 2005, 16:50, Jack wrote: > Hello Wilfried, > Thank you for the reply. > I am not sure how to determine which one is my > real address (192.168.1.250 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 0.0.0.0 > would work. > It looks like the simple solution is to broadcast on > all interfaces one by one with 0.0.0.0 and set the > LocalAddr to each of the local IPs. I'll try if this > works. > Is there an easy way to get default gateway and subnet mask? > -- > Best regards, > Jack > 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: 192.168.255.255 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 (192.168.1.250) >>> two virtual interfaces installed by vmware >>> (192.168.174.1, 192.168.88.1) >>> 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 0.0.0.0 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