[ws2_32] (try 2) in some cases send should block until the entire buffer is sent

Damjan Jovanovic damjan.jov at gmail.com
Mon Mar 19 08:42:40 CDT 2007


Try 2 replaces the deeply nested if's in the test with goto's.

Changelog:
*  On non-overlapped blocking stream sockets, winsocks' send() blocks
until the entire buffer is sent or an error occurs, while wine (like
Linux) currently returns as soon as any data is sent. Added a test
proving this is the case and fixed WSASendTo to do the right thing.

Damjan Jovanovic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: send.patch
Type: text/x-patch
Size: 6188 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070319/394d67ee/send.bin


More information about the wine-patches mailing list