External application control of Catalyst

Hi

I am just starting a project. I will use a catalyst media server v4. I wan't to be able to control content via an application running on a windows pc, written in c++.

Whats the best way to communicate with the media server? midi? osc? serial? tcp?

Many thanks
Chris