I have a C# .net 3.5 application where I use System.Net.Sockets.Socket.SendTo()
to send a UDP frame to the multicast address 224.0.100.1
. I then use BeginReceiveFrom()
on the same socket to listen for all the responses.
But, on systems where there is more than one network adapter, it seems to be random on which adapter the UDP packet is sent.
How can I allow the user the option to select the adapter that will be used and force SendTo()
to use that address?
Thanks, PaulH