Adds errno and err reporting to inet_sendto.