cliserver: An Example Libevent-based Socket Server

A little less than a month ago I was learning how to use libevent for a project of mine, but didn't find very many examples for my particular use case.  I decided to remedy the situation and polished and released my first libevent-based demo, called cliserver, on github, under a permissive 2-clause BSD license.  It accepts as many simultaneous connections as the system can handle and presents a very simple command-line interface to connecting clients.  The code in this example was then used as a starting point for upgrading my home automation project's network interface layer.

Download the code from github:

I welcome any comments or criticism you may have.  If you find this example useful, please let me know and share it with others.