My suggestion is really look for Einhugur ENET UDP Library. Björn was kind and smart to bring us this really awesome piece of code and is specially intended for games ( ENET is a widely used game UDP library to create multiplayer games ).
Almost all multiplayer games uses RakNet or ENET and both are focused on most aspect about dealing with UDP.