[Mono-devel-list] Udp Multicast

Robert Shade rshade at dvsconsulting.com
Sat Feb 28 00:56:02 EST 2004


It certainly could be because you are on windows, because mono uses the
windows native functions (Winsock) to do socket stuff.  The method you're
calling calls an internal function that is implemented in
mono/metadata/socket-io.c.

I would suggest that you cook up a small test case and file a bug report.

rob

> 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?
>
> Thanks,
>  ct
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



More information about the Mono-devel-list mailing list