A simple socket implementation in C.