TCP/IP would be best for this. DataSocket is designed for easily passing data of any data type between applications. It doesn't do as well in a controlling server/client system.
Also, TCP/IP libraries will be available for any compiler on Linux.
Best Regards,
Chris Matthews
National Instruments