tcp udp serial communication transmission