Re: [Mono-dev] Support 2-args Socket ctor added in .NET 4.5

2014-10-26 Thread Kornel Pal
Hi, This is possible on Unix (and Windows) using the IPV6_V6ONLY socket option. I'm not sure however about how widely this is adopted. Kornel On 10/26/2014 5:01 AM, Miguel de Icaza wrote: I am not sure that Unix can support the idiom surfaced by the two-parameter Socket. If K wants to be c

Re: [Mono-dev] Support 2-args Socket ctor added in .NET 4.5

2014-10-25 Thread Miguel de Icaza
I am not sure that Unix can support the idiom surfaced by the two-parameter Socket. If K wants to be cross platform, it likely needs to create two separate sockets, one for each domain, and not assume that you can create a single socket that can be used with multiple domains at once. Miguel On S

Re: [Mono-dev] Support 2-args Socket ctor added in .NET 4.5

2014-10-25 Thread Alexander Köplinger
hose implementations. -- Alex Date: Sat, 25 Oct 2014 17:31:30 +0100 From: monofo...@my2cents.co.uk To: m...@muo.jp CC: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Support 2-args Socket ctor added in .NET 4.5 Hi Kei, This looks like a good now (one small coding change I've just add

Re: [Mono-dev] Support 2-args Socket ctor added in .NET 4.5

2014-10-25 Thread Martin Thwaites
Hi Kei, This looks like a good now (one small coding change I've just added). Note that I'm not someone who can approve the patch, just an enthusiastic volunteer. Does this mean that the "k web" commandline for the vNext example site (Music store) works after the patch? Something I was trying f

[Mono-dev] Support 2-args Socket ctor added in .NET 4.5

2014-10-25 Thread Kei Nakazawa
Hello, I noticed some test code of Kestrel (web server for ASP.NET vNext) fails to compile on Linux hosts. /kestrel/test/Microsoft.AspNet.Server.KestrelTests/EngineTests.cs(325,34): error CS1729: 'Socket' does not contain a constructor that takes 2 arguments ref: https://github.com/aspnet/Kestrel