Simple examples in C for networking with UDP