[Mono-list] RE: Writing daemons in C#

Aschwin Wesselius aschwinw@sungate.nl
Thu, 19 Nov 2020 10:11:32 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0023_01D6BE5C.5AEF9E10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks guys. I will define "daemons" a bit more.

What I want is a program listening on a port, just like FTP or maybe an =
instant messaging bot based on Alice (www.alicebot.org). Since I don't =
know any C or C++ I would want to do it in C#, or else I have to forget =
the whole idea.

So to start off, I need to know if it is possible and next, I would go =
to figure out how to write daemons in general.

There is actually no documentation to find on the internet about writing =
daemons or how to set them up to run in the background. Maybe I just =
look for 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 on windows and on unix/linux.

So there is no "need" for C# doing daemons, but in my case it might =
become helpfull. C and C++ will still be very good languages for that, I =
know. But in general I was just curious how to built them and set them =
up, and I would do it in C#.

I hope it is more clear now.....

Regards,

Aschwin

------=_NextPart_000_0023_01D6BE5C.5AEF9E10
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks guys. I will define "daemons" a =
bit=20
more.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What I want is a program listening on a =
port, just=20
like FTP or maybe an instant messaging bot based on&nbsp;Alice=20
(www.alicebot.org). Since I don't know any C or C++ I would want to do =
it in C#,=20
or else I have to forget the whole idea.</FONT></DIV><FONT face=3DArial =
size=3D2>
<DIV><BR>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.</DIV>
<DIV>&nbsp;</DIV>
<DIV>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 )</DIV>
<DIV>&nbsp;</DIV>
<DIV>And yes, writing a service/daemon once might become easier to have =
it both=20
on windows and on unix/linux.</DIV>
<DIV>&nbsp;</DIV>
<DIV>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#.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I hope it is more clear now.....</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV><BR>Aschwin</FONT></DIV></BODY></HTML>

------=_NextPart_000_0023_01D6BE5C.5AEF9E10--