摘要: SuperSocket内置了支持Flash和Silverlight的客户端的Socket策略服务器,其实现代码在SuperSocket.Facility.dll这个assembly之中。所以要启用策略服务器,首先要保证SuperSocket.Facility.dll存在于SuperSocket运行目录,然后在配置文件中增加相关的节点即可。Flash策略服务器<socketServer> <servers> <server name="FlashPolicyServer" serviceName="FlashPolicyService& 阅读全文
posted @ 2011-05-15 10:55 江大渔 阅读(2312) 评论(7) 推荐(1) 编辑
摘要: SuperSocket支持在同一程序中运行多个服务器实例监听在不同的IP或端口,只需在配置文件中添加两个server节点即可:<?xml version="1.0" encoding="utf-8" ?><configuration> <configSections> <section name="socketServer" type="SuperSocket.SocketEngine.Configuration.SocketServiceConfig, SuperSocket.So 阅读全文
posted @ 2011-05-15 10:24 江大渔 阅读(4070) 评论(6) 推荐(1) 编辑