Ccnet is a framework for writing networked applications in C.