Transport data with tcp and udp