7176630: (sc) SocketChannel.write does not write more than 128k when channel configured blocking [win]
Alan Bateman
Alan.Bateman at oracle.com
Wed Jun 13 12:19:36 PDT 2012
On 13/06/2012 20:14, Diego Belfer wrote:
> Hi Alan,
>
> Do you know if the WSASend function may return SOCKET_ERROR and still
> have written some bytes to the underlying socket? (I read the doc for
> WSASend function and it is not clear for me if it is possible or not)
> If that is possible, you may need to "add" written to count before the
> "if" in order to return the count.
That would be a bad bug in Windows if that were to happen.
-Alan.
More information about the nio-dev
mailing list