Use functions of gt_socket.c to make UDP server.