Is it possible to run a Program (Daemon) in the Background, listening for TCP Connections ?
I read something about that its possible to have 4 threads (background tasks?) and i saw the linux like 'rc' stuff in OpenOS...
The intension is to have something like a relay script:
Daemon Script listens on special port for Connections; any Client-Script on same computer connects and if the Client then sends a special message the Daemon will relay it to IRC
...i want to write a Script to control something and already have a while loop - and dont want to connect&send&disconnect; connect&send&disconnect etc. to irc each message
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Hello.
Is it possible to run a Program (Daemon) in the Background, listening for TCP Connections ?
I read something about that its possible to have 4 threads (background tasks?) and i saw the linux like 'rc' stuff in OpenOS...
The intension is to have something like a relay script:
Daemon Script listens on special port for Connections; any Client-Script on same computer connects and if the Client then sends a special message the Daemon will relay it to IRC
...i want to write a Script to control something and already have a while loop - and dont want to connect&send&disconnect; connect&send&disconnect etc. to irc each message
Link to post
Share on other sites