So to start off, I need to know if it is possible and next, I =
would go=20
to figure out how to write daemons in general.
There is actually no documentation to find on the internet about =
writing=20
daemons or how to set them up to run in the background. Maybe I just =
look for=20
the wrong keywords, or google is playing games with me =3D )
And yes, writing a service/daemon once might become easier to have =
it both=20
on windows and on unix/linux.
So there is no "need" for C# doing daemons, but in my case it might =
become=20
helpfull. C and C++ will still be very good languages for that, I know. =
But in=20
general I was just curious how to built them and set them up, and I =
would do it=20
in C#.
I hope it is more clear now.....
Regards,
Aschwin
------=_NextPart_000_0023_01D6BE5C.5AEF9E10--
From aschwinw@sungate.nl Thu Nov 19 12:41:29 2020
From: aschwinw@sungate.nl (Aschwin Wesselius)
Date: Thu, 19 Nov 2020 13:41:29 +0100
Subject: [Mono-list] RE: Writing daemons in C#
Message-ID: <003e01d6be71$50ad39c0$0b00a8c0@home>
This is a multi-part message in MIME format.
------=_NextPart_000_003B_01D6BE79.AF25AB10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
>Hello,
>> The really cool thing would be if you or someone else implemented the
>> service-stuff from windows for mono and then you could use that.
>Yes, we do need in fact someone with Windows experience to actually
>implement the Windows versions of those classes. The Unix case should
>be relatively trivial.
>Paolo has expressed his interest in the past in having a Mono.Posix.dll
>which would provide us with direct access to the Unix API, raw, without
>the .NET framework wrapping. Together with some utility classes and
>functions
Ok, now it is clear that writing daemons like in Windows can not be done =
yet on the Linux platform. Since those classes are not yet implemented.
First I would be very honoured to do that, but I really can't. Hacking =
in C# is a thing to learn and as a purpose I choose the Linux platform =
to combine both to learn from each end. Doing such I also wanted to know =
how to write daemons, and since hacking away on something that would be =
a nice goal to reach for myself. I know that I aim to high sometimes.
BUT.... I am not a very experienced programmer and above that I know =
very little about hacking classes for perticular OSes. So, I think it is =
not a good idea to have myself started on this and get lost or =
desinterested. Going by little steps works for me and having a lot of =
patience is what I have to learn. And I'm willing to learn how to =
program stuff for Linux, but I am very novice on it. Got my box Linux =
configured in february for the first time so....... =3D )
So, I will wait (with respect though) till somebody else will have the =
need or the urge to build those classes.
Along the side of this list I will learn quite enough and maybe in the =
future I will add my two cents to the project.
Thanks again and I will see how it will develop itself (no not =
automatically like AI, I mean the project =3D ))
Aschwin
------=_NextPart_000_003B_01D6BE79.AF25AB10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
>Hello,
>> The really cool thing would be if =
you or=20
someone else implemented the
>> service-stuff from windows for =
mono and=20
then you could use that.
>Yes, we do need in fact someone with =
Windows=20
experience to actually
>implement the Windows versions of those=20
classes. The Unix case should
>be relatively=20
trivial.
>Paolo has expressed his interest in the past in =
having a=20
Mono.Posix.dll
>which would provide us with direct access to the =
Unix API,=20
raw, without
>the .NET framework wrapping. Together with =
some=20
utility classes and
>functions
Ok, now it=20
is clear that writing daemons like in Windows can not be done yet on the =
Linux=20
platform. Since those classes are not yet=20
implemented.
First I would be very honoured to do =
that, but I=20
really can't. Hacking in C# is a thing to learn and as a purpose I =
choose the=20
Linux platform to combine both to learn from each end. Doing such I also =
wanted=20
to know how to write daemons, and since hacking away on something that =
would be=20
a nice goal to reach for myself. I know that I aim to high=20
sometimes.
BUT.... I am not a very experienced =
programmer and=20
above that I know very little about hacking classes for perticular OSes. =
So, I=20
think it is not a good idea to have myself started on this and get lost =
or=20
desinterested. Going by little steps works for me and having a lot of =
patience=20
is what I have to learn. And I'm willing to learn how to program stuff =
for=20
Linux, but I am very novice on it. Got my box Linux configured in =
february for=20
the first time so....... =3D )
So, I will wait (with respect though) =
till somebody=20
else will have the need or the urge to build those classes.
Along the side of this list I will =
learn quite=20
enough and maybe in the future I will add my two cents to the=20
project.
Thanks again and I will see how it will =
develop=20
itself (no not automatically like AI, I mean the project =3D =
))
Aschwin
------=_NextPart_000_003B_01D6BE79.AF25AB10--