Fixed the compile error of socket.sendto().