[twsocket] OnDataAvailable received twice

Wilfried Mestdagh wilfried_sonal@compuserve.com
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 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 then you network is, so you can
broadcast on 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.

rgds, Wilfried

> -----Original Message-----
> From: twsocket-admin@elists.org [mailto:twsocket-admin@elists.org]On
> Behalf Of Azrin Aris
> Sent: woensdag 14 juni 2000 4:04
> To: twsocket@elists.org
> 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 and having subnet maks
> so when broadcasting to I will receive two
> OnDataAvailable one for and Thanks Wilfried
> for pointing it to me.
> Cheers,
> Azrin