Zebediah Figura (@zfigura) commented about dlls/ntdll/unix/socket.c:
{ ULONG_PTR information;
status = try_send( fd, async );
if (protocol == WS_IPPROTO_UDP && async->addr && sockaddr_is_port0(async->addr, async->addr_len))
{
/* Spellforce 3 is known to send to port 0.
* This causes 'sendmsg' to throw a EINVAL error, on Windows this does nothing but consume the data.
*/
ssize_t i;
for(i = async->iov_cursor; i < async->count; i++)
{
async->sent_len += async->iov[i].iov_len;
}
```suggestion:-3+0 for (i = async->iov_cursor; i < async->count; i++) async->sent_len += async->iov[i].iov_len; ```