[Mono-dev] patch to workaround Socket.DontFragment NRE

Atsushi Eno atsushi at ximian.com
Tue Jan 23 05:12:23 EST 2007


Hi,

I have removed temporary removal of Socket.DontFragment on my box and
noticed that it still doesn't work on win32. The attached patch is a
workaround for NullReferenceException because of null return value from
icall.

Not sure if it is correct but it fixes some nunit tests, but at least it
is better than raising NRE for normal socket connection.

Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: socket.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070123/8d25bfef/attachment.pl 


More information about the Mono-devel-list mailing list