[Mono-dev] After calling Connect method System.Net.Sockets.TcpClient looses settings

Gonzalo Paniagua Javier gonzalo at ximian.com
Thu Feb 23 16:32:39 EST 2006


On Thu, 2006-02-23 at 11:02 +0100, Arnhoffer Károly wrote:
> Hi,
> 
> I do the following:
> 
> System.Net.Sockets.TcpClient client = new System.Net.Sockets.TcpClient();
> client.ReceiveTimeout = 3000;
> Console.WriteLine(client.ReceiveTimeout.ToString());
> client.Connect("192.168.1.5", 80);
> Console.WriteLine(client.ReceiveTimeout.ToString());
> 
> And the response wit Mono is:
> 
> 3000
> 0
> 
> With .Net it is:
> 
> 3000
> 3000

This is now fixed in svn HEAD and 1-1-13.
Thanks.

-Gonzalo





More information about the Mono-devel-list mailing list