在窗体load()的是,
TcpChannel chan = new TcpChannel(8086);
ChannelServices.RegisterChannel(chan);
RemotingConfiguration.RegisterWellKnownServiceType(
typeof(ClassLibrary1.Class1), "Test", WellKnownObjectMode.SingleCall);然后在使用
TcpChannel chan = new TcpChannel();
ChannelServices.RegisterChannel(chan);
return Activator.GetObject(typeof(Class1),"tcp://localhost:8086/Test"); 出现错误!!
提示tcp已经被注册!!???
该怎么改动!!
我只有一台机器!!