Hello guys,
I finally found sometime and started working on the UPnP framework again, while the framework worked perfectly on 4.1, and now when I upgraded to the latest and greatest the following UPD call (last call in code below) throws an exception, which doesn’t allow me to join a Multicast group to start monitoring the UDP traffic properly.
any idea if this is a known issue?
//To Monitor the UPnP Traffic
// Join Multicast Group
var multicastOpt = new byte[] { 239, 255, 255, 250, 0, 0, 0, 0 };
_udpSocket.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.MulticastTimeToLive, 0);
_udpSocket.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.AddMembership, multicastOpt); //I get an exception here.....
Thanks guys,