[Mono-bugs] [Bug 81290][Wis] Changed - SetSocketOption throws an exception using some specific parameters on MAC OS X

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 18 05:37:11 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by wazabbe at free.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=81290

--- shadow/81290	2007-04-16 16:51:47.000000000 -0400
+++ shadow/81290.tmp.15393	2007-04-18 05:37:11.000000000 -0400
@@ -120,6 +120,35 @@
 
 
 ------- Additional Comments From wazabbe at free.fr  2007-04-16 16:51 -------
 I tested this code on two Macintosh, one was a ibook (as far as I 
 can remember) , one was a mac mini. both were PPC G4 architectures 
 and both were under MAC OS X 1.4.9.
+
+------- Additional Comments From wazabbe at free.fr  2007-04-18 05:37 -------
+Here are some more infos that may help :
+
+I've had the confirmation : the peace of code I gave doesn't work on
+both iBook G4 and Mac mini (PPC G4).
+
+The exception that is thrown on these plateforms is :
+
+Unhandled Exception: System.Net.Sockets.SocketException: Invalid arguments
+  at System.Net.Sockets.Socket.SetSocketOption (SocketOptionLevel
+level, SocketOptionName name, System.Object opt_value) [0x00000] 
+  at ConsoleApplication1.Class1.Main (System.String[] args) [0x00000]
+
+
+The exception is related to this line in the code :
+
+ListeningSocket.SetSocketOption(SocketOptionLevel.IP,
+SocketOptionName.AddMembership, new
+MulticastOption(IPAddress.Parse("239.255.255.250"), localAddresses[0]));
+
+Targetting the 1.1 runtime (i.e. compiling with mcs) or targetting the
+2.0 runtime (using gmcs) doesn't make any difference.
+
+The mac mini has the default configuration (Mac OS was newly installed).
+
+I think it is more a question of plateform than a question of config.
+
+


More information about the mono-bugs mailing list