I need to fake the original WSPSend to make the program think that all
data were sent.
So i've set *NumberOfBytesSent to le total buffer length, *lpErrno =0,
and returned 0.
It works perfectly with IE, but fails with other browaser like
After the WSPSend, IE go straigth no and call the recive function.
Firefox and opera not. I've tried to pass the send to the lower
povider and it work.
Firefox wait something like 3 minutes and then call the recive
I thinked to something that timeout. So i've twice cheched that either
firefox and opera didn't sent an lpOverlapped and an
lpCompletationRoutine structure. They are both null in both the
I thinked to a problem with the NumberOfBytesSent, but if it is lower
than expected the send function should be recalled. It's really
strange! Why ie works and firefox and opera not? They seem
to wait something to understand that the WSPSend is over!