If C is fine, and if you need it to compile cleanly on both Windows and Linux, try EasyOSC: http://home.roadrunner.com/~jgglatt/tech/easyosc.zip