SIO_FLUSH behavior
When the SIO_FLUSH socket ioctl is used in a Windows environment (user space), I am confused as to what is going on. Does this mean: (1) completely discards the data from the TCP / IP send queue into the black hole, or (2) pushes the send data in turn through the connection until the buffer is empty, or (3) anything else? Thank!
+1
Brian
source
to share
1 answer
On Windows, you can never be sure. However, this (search for SIOFLUSH) says it is dropping the send queue associated with the socket. This is what I also expect when I use SIO_FLUSH
+1
Aditya sehgal
source
to share