added udp socket. removed tcp socket