make second argument of sendto const to conform with POSIX