Receiving broadcasts from wrong subnet (Win7 x64)
Hello, i found something alarming while programming under Win7. I've got two PCs, one with Win7, one with XP. Both PCs have 2 IP-Adresses for their network cards Win 7: 168.152.32.1 255.255.255.0 168.152.33.1 255.255.255.0 Win XP: 168.152.32.2 255.255.255.0 168.152.33.2 255.255.255.0 The disturbing thing is, that under Win7 I receive on IP 168.152.32.1 also broadcasts for 168.152.33.255 (the same for the second IP). The same program under Win XP works correctly and receives on 168.152.32.2 only broadcasts for 168.152.32.255. The socket is bound only to a single IP. I need to have two completely separated subnets, so it is a very big problem that I receive broadcasts for the other subnet. With recvfrom I can't distinguish for which subnet the message is. I get only the address of the sender, but a telegram from 168.152.33.2 to 168.152.32.1 is also possible, so it isnt't usefull to tell it apart. I was glad if anybody can help me. Thanks in advance.
October 14th, 2010 10:58am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics