Original Post
I'm working on a MMORPG server which runs as a linux daemon.. The thing is, I haven't done much linux programming before, thats the problem..
So far I have a simple terminal program that starts up, daemonizes and runs an endless while loop in the background until you send a kill signal.
If anyone knows know how do any of the following, it'd be really helpful:
1) How to prevent it from running more than one instance of the daemon.
2) How to send custom signals to the server via a new terminal. (Is it possible to goto a terminal and type something like 'servername' ENTER, then get a prompt directly to it?)
3) If the above isn't possible, does anyone know of a way to issue commands to a running daemon? (Some kind of GUI maybe...?)
Thanks!
Nate Strandberg
[edited by - nstrg on August 1, 2002 5:42:38 PM]