Take a look at enet. It is written in C, so it would be fairly easy to port or just compile as a DLL.