A simple implementation of a server that can use UDP/TCP