As soon as i try to send big buffers ( size > 1000 bytes ) through 39.dll, i get weird behaviors, depending on the machines.
Sometimes, the packets will disappear, or arrive incomplete ( like the packet received is 800 , when the one sent was 1000 ).
For some machines, that kind of behavior starts around packets of 2000, other around 1000. I don't really understand why. Any clues ?
Another question : when i send a buffer via an unstable connection ( ex a buffer of 100 bytes ), sometimes i get on the client 2 packets ( ex one of 68 and 32 ). Is this normal ? ( it looks like , because of connection, the original packet is only sent half, and next half is sent later ).
To conclude, it seems http dll 2 may solve this problem . Could this be the issue ?
" The DLL also fixes an annoying bug/feature in 39dll that can cause data to be lost. With 39dll, the maximum amount of data that can be recieved as a whole is limited by the operating system. Windows will only buffer a fixed amount of data, e.g. 64KB. This might not be enough if you're trying to send large files. If too much data is buffered by the receiver, the sender has to wait to send more data. Since 39dll's sendmessage function doesn't wait, part of the data is lost if too much data is sent at once. This DLL does additional buffering to avoid this problem, so no data is ever lost. You can buffer as much data as you want on both the sending side and the receiving side. "
Edited by Ronchon le Nain, 08 February 2012 - 03:54 PM.