This is a network service framework (libnsf) that can be used to build generic event driven network servers.  Please check testsrv.cpp for an example.