Has anyone had any luck with UDP on a Netduino Plus 2 with MF 4.3.1? I seem to get errors when using the SetSocketOption call. The exception returns an internal error id of 10042 (Bad protocol option).
I'm starting to wonder whether using the Netduino boards are worth it (given this sort of issue and other bugs - like the network stack not detecting ethernet plug disconnects). I've noticed that someone has tried this on another MF board and it worked fine. Any suggestions?
I'm trying to capture UDP messages broadcast by another device on the local network.
/// Starts the client connection.
public void Open()
m_IsOpen = false;
var ipAddress = IPAddress.Parse("184.108.40.206");
var ipBytes = ipAddress.GetAddressBytes();
m_Client.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.MulticastInterface, ipBytes);
m_IsOpen = true;