[PATCH 1/3] ws2_32: Implement a basic synchronous TransmitFile (try 3).

Erich E. Hoover erich.e.hoover at wine-staging.com
Mon Oct 12 10:16:27 CDT 2015

On Mon, Oct 12, 2015 at 1:25 AM, Alexandre Julliard <julliard at winehq.org> wrote:
> "Erich E. Hoover" <erich.e.hoover at wine-staging.com> writes:
>> +    /* set reasonable defaults when requested */
>> +    if (!bytes_per_send)
>> +        bytes_per_send = 1024;
> Is that the Windows default?  It doesn't seem very reasonable to me, it
> won't even fill a network packet.

I don't know, it's not in the documentation.  However, if you like I
could try to tease it out by doing some tests and running Wireshark on
it.  I figured that since the default MTU is 1500 bytes that 1024
would be a reasonable power of two less than that to use, but if you
think that 2^16 is more reasonable then, obviously, we could use that


More information about the wine-devel mailing list