Program receives UDP messages and sends TCP Commands to a device