Fix net_accept() for UDP sockets on Windows On Windows, recvfrom() returns an error code if the destination buffer is too small to hold the next datagram.