[twsocket] OnDataAvailable received twice
Wed, 14 Jun 2000 09:58:19 +0200
Not exacly. You only can get more than 1 packet if you have more than 1
interface, or a very large network with routers that route from / to your
machine. Broadcasting to 255.255.255.255 is a broadcast to any network. You
have also 2 network if you have internet connection, even with dial up. The
broadcast will go over internet also. If you wants to broadcast on a
specific network you must do it on the highest addres of the network.
If your ip is 10.15.3.2/16 then you network is 10.15.0.0, so you can
broadcast on 10.15.255.255. A interface will accept a broadcast if it find
that it is in the network. The netwok is found by logical AND with his ip
and the mask.
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org]On
> Behalf Of Azrin Aris
> Sent: woensdag 14 juni 2000 4:04
> To: email@example.com
> Subject: Re: [twsocket] OnDataAvailable received twice
> Ok, I've found the problem. It is not with ICS but with the IP
> addressing itself. My IP is 10.15.3.2 and having subnet maks
> 255.255.0.0. so when broadcasting to 255.255.255.255 I will receive two
> OnDataAvailable one for 255.255.255.0 and 255.255.0.0. Thanks Wilfried
> for pointing it to me.