码迷,mamicode.com
首页 > Web开发 > 详细

supersocket Silverlight 策略服务器

时间:2019-07-03 17:14:54      阅读:125      评论:0      收藏:0      [点我收藏+]

标签:aci   属性   framework   service   app   facility   配置   sockets   star   

<?xml version="1.0"?>

<configuration>

    <configSections>

        <section name="superSocket" type="SuperSocket.SocketEngine.Configuration.SocketServiceConfig, SuperSocket.SocketEngine" />

    </configSections>

    <appSettings>

        <add key="ServiceName" value="SupperSocketService" />

    </appSettings>

    <superSocket>

        <servers>

            <server name="SilverlightPolicyServer"

                    serverType="SuperSocket.Facility.PolicyServer.SilverlightPolicyServer, SuperSocket.Facility"

                    ip="Any" port="943"

                    receiveBufferSize="32"

                    maxConnectionNumber="100"

                    policyFile="Policy\silverlight.xml"

                    clearIdleSession="true">

            </server>

        </servers>

    </superSocket>

    <startup>

        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />

    </startup>

</configuration>

提示:server节点的配置属性policyFile的值为你的策略文件的存放路径。

 

supersocket Silverlight 策略服务器

标签:aci   属性   framework   service   app   facility   配置   sockets   star   

原文地址:https://www.cnblogs.com/fanweisheng/p/11127136.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!