[Mono-devel-list] [BUG][PATCH] Setting TcpClient.NoDelay to true causes

Hans Kratz kratz at omnicore.com
Tue Jun 7 03:43:12 EDT 2005


Bug report and patch against Mono from SVN trunk (revision 45561).

Setting TcpClient.NoDelay to true causes an exception in the 1.0 branch:

Use an integer 1 (true) or 0 (false) instead of a boolean.
Parameter name: opt_value
in <0x000f1> System.Net.Sockets.Socket:SetSocketOption 
(SocketOptionLevel level, SocketOptionName name, System.Object opt_value)
in <0x0002a> System.Net.Sockets.TcpClient:set_NoDelay (Boolean value)
[...]


Attached patch fixes this problem.


Best regards,


Hans
-- 
Hans Kratz
Omnicore Software
http://www.omnicore.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcpclient-nodelay.patch
Type: text/x-patch
Size: 443 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050607/3a62ded5/attachment.bin 


More information about the Mono-devel-list mailing list