.Net Remoting 实例[6]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 hustbill 的 blog

  main()方法中,用端口号8086创建一个 system.runtime.channels.tcp信道,该信道

使用system.runtiem.remoting.channels.channelservices注册,使之用于远程对象。

  

在远程对象注册之后,使服务器一直处于运行状态,直到按任意键为止:

helloserver.cs的完整代码为:

 

using system;

using system.runtime.remoting;

using system.runtime.remoting.channels;

using system.runtime.remoting.channels.tcp;

 

本文关键:.Net Remoting 实例
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top