A simple UDP client/server example in C++