mono/mono — pull request #801 by Ninds (2013-11-09 01:07:04+00:00)
Title: Setting ReceiveBufferSize & SendBufferSize on Socket (Bug 16021 & Bug 12754)

Fixes :

https://bugzilla.xamarin.com/show_bug.cgi?id=16021
https://bugzilla.xamarin.com/show_bug.cgi?id=12754

Resolves:

http://lists.ximian.com/pipermail/mono-list/2013-June/050008.html

A reference to the variable bufsize, local to the else-if block was being passed to the function setsockopt hence
the properties ReceiveBufferSize & SendBufferSize were being set to garbage on the Socket class. This could and did have a SERIOUS performance hit on socket communication. It is not inconceivable that people would try

Narinder Claire
narinder.claire <> gmail.com