Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
A program using TCP sockets is setting socket.NoDelay to false. Yet when the code in Socket_2_1.cs executes the code:
SocketOptionName.NoDelay, value ? 1 : 0);
The C code which implements the setsockopt() call ends up setting that option on.I've verified that value is 0 at the time of the call to SetSocketOption().
Neale, do you mind sharing a test case and the paltform this is happening on?
Why is that wrong? Setting NoDelay to false should trigger a call to setsockopt with zero as value.
If you can still reproduce with latest mono version, please feel free to reopen the bug. Thank you.