I'm trying to simulate WSAEWOULDBLOCK on blocking send() with setsockopt by reducing the internal Winsock send buffer to a very small value and 2 threads sending at same time...
Droping the connection by unplug the network cable or block it in the firewall is not sufficient to fill up the internal send buffer and return the WSAEWOULDBLOCK ?
How can I do this ?
Thank's.