Tutorial MUD, part 4: Mainloop and signals

We are starting to get the groundwork of our server in place, there are just a couple of things left to do. The first thing is to create a loop that will keep the server running. The second thing is to handle signals such as a user pressing CTRL-C in the console where the program is running.

For the previous article see part 3, and you can find the code we will be building on on github under the part-3 tag.

Continue reading “Tutorial MUD, part 4: Mainloop and signals”