w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
how to send a message in multicast group (wired to wireless)
sock.Bind(new IPEndPoint(IPAddress.Any, _Port));

The problem is here. That causes UDP to route the outgoing datagram according to the unicast IP routing tables, and if the routing table doesn't prefer the wireless route it won't be used. Bind it to an IP address of the local wifi interface.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.