[Mono-devel-list] XSP && Win32

Christian Birkl wingman at techmonkeys.org
Fri Jan 23 19:07:54 EST 2004


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.

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.

Is anyone currently tracking this issue?

Your sincerely,

	Christian




More information about the Mono-devel-list mailing list