look for an osc library for c++ ,
there are many


i had an experience of this kind ,
this library  was used

oscpack -- Open Sound Control packet manipulation library
http://www.audiomulch.com/~rossb/code/oscpack