ws2_32: sendmsg on OS/X and BSD returns EMSGSIZE error for size 0

Alexandre Julliard julliard at
Fri Mar 4 11:21:19 CST 2011

Aric Stewart <aric at> writes:

> Looks like WS2_ConnectEx is at fault.
> It is being called with a sendBuf of NULL which results in n_iovecs
> and first_iovec being set to 0 resulting in a len of 0.

Most likely it shouldn't be trying to send anything in that case.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list