2007-01-08 Lluis Sanchez Gual <lluis@novell.com>
authorLluis Sanchez <lluis@novell.com>
Mon, 8 Jan 2007 12:53:01 +0000 (12:53 -0000)
committerLluis Sanchez <lluis@novell.com>
Mon, 8 Jan 2007 12:53:01 +0000 (12:53 -0000)
* TcpChannel.cs, TcpServerChannel.cs: Moved StartListening call to
  the constructor of TcpServerChannel.

svn path=/trunk/mcs/; revision=70646

mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/ChangeLog
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpChannel.cs
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs

index 4c3513ea1d54ea0f494cf58dd801e016f7d009fa..dd0d3ffed84f0f165920b8ba03de2c4bd5fb4315 100644 (file)
@@ -1,3 +1,8 @@
+2007-01-08  Lluis Sanchez Gual  <lluis@novell.com>
+
+       * TcpChannel.cs, TcpServerChannel.cs: Moved StartListening call to
+         the constructor of TcpServerChannel.
+
 2006-12-18  Lluis Sanchez Gual  <lluis@novell.com>
 
        * TcpChannel.cs: The remoting infrastructure does not call
index 41cc4112770e3fb8b60702d3f8f2532d99d74bb3..de8d9a692fcb357239ea3b46c9c8d9c29fed43a1 100644 (file)
@@ -65,8 +65,6 @@ namespace System.Runtime.Remoting.Channels.Tcp
                        
                        val = properties ["priority"];
                        if (val != null) _priority = Convert.ToInt32 (val);
-
-                       StartListening (null);
                }
 
 
index 300954769ed8d3d11ccbeaf0f8d816e32c297989..a923251538bf7661c3f6767a1f88593576f8e9d1 100644 (file)
@@ -95,6 +95,8 @@ namespace System.Runtime.Remoting.Channels.Tcp
 
                        IServerChannelSink next_sink = ChannelServices.CreateServerChannelSinkChain (serverSinkProvider, this);
                        sink = new TcpServerTransportSink (next_sink);
+
+                       StartListening (null);
                }
                
                public TcpServerChannel (int port)