sendto() modified