[Mono-devel-list] Udp Multicast

christopher.p.taylor at us.army.mil christopher.p.taylor at us.army.mil
Fri Feb 27 07:28:12 EST 2004

Hey everyone,

 For the past couple of days, I've been developing a Gtk# app that uses udp multicast.
Unfortunately, the following line seems give mono a temper tantrum:

 s.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.AddMembership, new MulticastOption(ip));

That line throws the following exception description:

"System.Net.Sockets.SocketException: Some sort of w32 error occurred: 0"

 Could this be something related to the fact that I'm on a win2k machine? I seriously doubt that - and since the stack trace first points to an unmanaged call, I'm thinking it may have something to do with the C dll that I'm using.
Anyone have a clue/suggestion?

More information about the Mono-devel-list mailing list