udp client: fgets, sendto, recvfrom