Post by Sebastien Lorquet ***@lorquet.fr [nuttx]
Ha, okay, so this is an asynchronous write. Interesting!
All writes are asynchronous as some level.Â Normally sendto would wait
until the hardware is ready to transmit the next packet before it
returns.Â But the transmission from hardware probably also involves
another level of queuing (at least for more advance Ethernet hardware).Â
sendto() never blocked until the packet was completely out on the wire
successfully; only until the packet was handed off to the network driver.
So this change just allows sendto to return even sooner without waiting
If you really want asyncrhonous I/O there are always the AIO POSIX
interfaces (aio_write, aio_read, etc.).