Custom Command Widgets capabilities

Hi all,
I have a task of building a communication link between the GCS and a server. I should send to the server (through a UDP link) some data regarding the state of my vehicle (position, speed, … etc), and receive from the server some other data regarding the states of some other vehicles.
My question is: can I make this task as a QGroundControl’s “Custom Command Widgets”? I mean does a QGroundControl’s “Custom Command Widgets” give me the capability to do such complex task?
Or must I dive through the QGroundControl code and add my code inside?

If you make your server talk mavlink and look like a vehicle then could could connect to it via udp or tcp and QGC would display the telemetry. Otherwise you are going to need some special coding.