[network] fix windows udp accessor-write-from in the same way as the unix one