$ ls my_app.c mongoose.c mongoose.h $ gcc my_app.c mongoose.c -o my_app -ldl -pthread Somewhere in the application code, call mg_start() to start the server. Pass configuration options and event handlers to mg_start(). Mongoose then calls handlers when certain events happen. For ...