[Mono-devel-list] XSP && Win32
Gonzalo Paniagua Javier
gonzalo at ximian.com
Sat Jan 24 05:39:50 EST 2004
El sáb, 24-01-2004 a las 01:07, Christian Birkl escribió:
> Hi all,
> XSP as mod-mono-server doesn't currently support Windows and Apache due
> to the lack of unix sockets on this platform (see bug
> http://bugzilla.ximian.com/show_bug.cgi?id=52763). I don't think it is
> fixed since mod_mono (at least the cvs version) still uses unix sockets
> so i thought of a platform independend version w/o modifing too much of
> both code bases (xsp and mod_mono).
> Solution #1:
> Why not use plain tcp/ip sockets bound on local loopback
> (127.0.0.1) and a user port (> 1024)? This way we don't depend on unix
> operating systems and still can get xsp and apache2 with just a small
> lines of code changes to run on both platforms.
This is one of the options I'm pondering.
> Solution #2:
> The use of named pipes on win32 systems, but i guess they aren't
> supported by the .net runtime (tho one could use [DllImport] and
> CreateNamedPipe calls to kernel32.dll and write a simple NamedPipeSocket
> : Socket class. Changes in mod_mono.c wouldn't be so hard too since we'd
> just have to #ifdef some lines.
This is the one I'd like to implement, but I have not tested yet if MS
runtime has support for named pipes (using something like our
Mono.Posix/UnixEndPoint.cs). If it does, I'd prefer this option.
More information about the Mono-devel-list