Package: libmono-system1.0-cil
Version: 1.2.2.1-1

The following C# program fails on powerpc:

namespace Test
{
        using System.Net;
        using System.Net.Sockets;
        class Test
        {
                static void Main()
                {
                        UdpClient udp = new UdpClient(new 
IPEndPoint(IPAddress.Any, 1900));
                        
udp.JoinMulticastGroup(IPAddress.Parse("239.255.255.250"));
                        udp.Close();
                }
        }
}

with the exception:

Unhandled Exception: System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.SetSocketOption (SocketOptionLevel level,
SocketOptionName name, System.Object opt_value) [0x00000]
  at System.Net.Sockets.UdpClient.JoinMulticastGroup (System.Net.IPAddress
multicastAddr) [0x00000]
  at Test.Test.Main () [0x00000]

The executable works fine when run on i386.

Failing system configuration:
uname -a: Linux ps3linux 2.6.16-1-ps3pf #1 SMP Sun Dec 31 17:35:13 JST 2006 ppc64 GNU/Linux
libc6: 2.3.6.ds1-8

A custom kernel on a PS3 probably isn't a supported configuration but I've verified that the platform does support multicast by compiling and running the example program at
http://jungla.dit.upm.es/~jmseyas/linux/mcast.lj/mcast-lj.html

This issue also affects libmono-system2.0-cil.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to