Changed communication from UDP to TCP.