Register more than one tcp or http channel with System.Runtime.Remoting.Channel
-
Hi All, Is it possible to register more than one channels on server so that server can listen to more than one channels, so far i can only register one either http or tcp channel on the server. below is my code to register 1 tcp or http channe: HttpChannel channel = new HttpChannel(80); ChannelServices.RegisterChannel(channel, false); RemotingConfiguration.RegisterWellKnownServiceType(typeof(ResumeLoader), "ResumeLoader", WellKnownObjectMode.SingleCall); System.Console.WriteLine("Server started, press any key to exit"); System.Console.ReadLine(); Any thoughts and advice will be appreciated. Regards Andie
-
Hi All, Is it possible to register more than one channels on server so that server can listen to more than one channels, so far i can only register one either http or tcp channel on the server. below is my code to register 1 tcp or http channe: HttpChannel channel = new HttpChannel(80); ChannelServices.RegisterChannel(channel, false); RemotingConfiguration.RegisterWellKnownServiceType(typeof(ResumeLoader), "ResumeLoader", WellKnownObjectMode.SingleCall); System.Console.WriteLine("Server started, press any key to exit"); System.Console.ReadLine(); Any thoughts and advice will be appreciated. Regards Andie