![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | multicast reception with multiple NICs Windows seems to only allow itself to enroll in a multicast group once, irrespective of how many NICs are on a given Windows machine. For example, say I have three NICs on a machine (separate NICs, not just three overloaded IPs on one NIC), as follows: 192.168.0.100 255.255.255.0 192.168.0.101 255.255.255.0 192.169.0.102 255.255.255.0 No gateways set up on any of these so weird routing issues should not be relevant. Also, I can see that all three NICs are physically getting the multicast packet from the switch, so the packet is being physically sent to the NICs from the network. Now, if I then have three separate C# programs, and each creates a socket, binds to one of the three addresses above (none overlapping, obviously, or I'd get a socket exception), and all three then enroll themselves in a multicast group (say 224.2.3.4), why is it that only one address will be able to receive multicast packets? Even worse, whatever NIC got the first bind to that group, holds it forever (or at least until the box is rebooted). Say Process B is using 192.168.0.101, and I boot up and start that process. It receives multicasts fine. but starting the processes A on 192.168.0.100 and and Process C on 192.168.0.102 gives no exceptions on either process, both bind successfully and successfully enroll in the multicast group, but neither receives multicasts. If I then stop all the processes, and reassign process B to 192.168.0.100 and process A to 192.168.0.101 and start them up, process B will receive multicast packets fine but A and C will not. I wonder if the .NET runtime is getting in the way of socket ownership, or is this a Windows limitation? When I get the time to build some virtual machines, I'll try running each process in a separate VM and look at the behaviour to see if is any different. Thanks for any assistance. Phil |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| MultiCast | PowerShell | |||
| Re: Multiple NICs in VPC2007 | Virtual PC | |||
| multiple NICs | Vista networking & sharing | |||
| multiple NICs; automatic metrics | Vista networking & sharing | |||