I've written a C# TCP socket service which runs on windows and linux. It uses System.ServiceProcess, inheriting from System.ServiceProcess.ServiceBase. The app was originally written on windows and worked fine there installed as a service using installutil. When I moved over to linux, I discovered that I had to start it with MonoService.exe (found in MonoRoot/bin I think).
I had to write an init.d script similar to the one mentioned here in order to get the process launched at OS startup.
--Travis
Lee <[EMAIL PROTECTED]> wrote:
Hi all,
I apologize for the basic question here, but I am new to linux. To make
things a bit easier on myself, I'm using VS2005 for my development since I
use that for windows development as well. I am writing a TCP socket server
and want it to run as an automatic process.
Should that be written as a console app or as a Service app?
Again, sorry for the basic question.
Thanks,
Lee
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
Want to be your own boss? Learn how on Yahoo! Small Business.
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
