fix recvfrom() in client.c