PhotonServer介绍

PhotonServer介绍

MaxMessageSize="512000"

MaxQueuedDataPerPeer="512000"

PerPeerMaxReliableDataInTransit="51200"

PerPeerTransmitRateLimitKBSec="256"

PerPeerTransmitRatePeriodMilliseconds="200"

MinimumTimeout="5000"

MaximumTimeout="30000"

DisplayName="LoadBalancing (MyCloud)">

IPAddress="0.0.0.0"

Port="5055"

OverrideApplication="Master">

IPAddress="0.0.0.0"

Port="5056"

OverrideApplication="Game">

IPAddress="0.0.0.0"

Port="4530"

OverrideApplication="Master"

PolicyFile="Policy\assets\socket-policy.xml"

InactivityTimeout="10000"

>

IPAddress="0.0.0.0"

Port="4531"

OverrideApplication="Game"

PolicyFile="Policy\assets\socket-policy.xml"

InactivityTimeout="10000">

IPAddress="0.0.0.0"

Port="4520">

IPAddress="0.0.0.0"

Port="843"

PolicyFile="Policy\assets\socket-policy.xml">

IPAddress="0.0.0.0"

Port="943"

PolicyFile="Policy\assets\socket-policy-silverlight.xml">

IPAddress="0.0.0.0"

Port="9090"

DisableNagle="true"

InactivityTimeout="10000"

OverrideApplication="Master">

IPAddress="0.0.0.0"

Port="9091"

DisableNagle="true"

InactivityTimeout="10000"

OverrideApplication="Game">

Assembly="PhotonHostRuntime, Culture=neutral"

Type="PhotonHostRuntime.PhotonDomainManager"

UnhandledExceptionPolicy="Ignore">

Name="Master"

BaseDirectory="LoadBalancing\Master"

Assembly="Photon.LoadBalancing"

Type="Photon.LoadBalancing.MasterServer.MasterApplication"

ForceAutoRestart="true"

WatchFiles="dll;config"

ExcludeFiles="log4net.config"

>

Name="Game"

BaseDirectory="LoadBalancing\GameServer"

Assembly="Photon.LoadBalancing"

Type="Photon.LoadBalancing.GameServer.GameApplication"

ForceAutoRestart="true"

WatchFiles="dll;config"

ExcludeFiles="log4net.config">

Name="CounterPublisher"

BaseDirectory="CounterPublisher"

Assembly="CounterPublisher"

Type="Photon.CounterPublisher.Application"

ForceAutoRestart="true"

WatchFiles="dll;config"

ExcludeFiles="log4net.config">

MaxMessageSize="512000"

MaxQueuedDataPerPeer="512000"

PerPeerMaxReliableDataInTransit="51200"

PerPeerTransmitRateLimitKBSec="256"

PerPeerTransmitRatePeriodMilliseconds="200"

MinimumTimeout="5000"

MaximumTimeout="30000"

DisplayName="MMO Demo"

>

IPAddress="0.0.0.0"

Port="5055"

OverrideApplication="MMoDemo">

IPAddress="0.0.0.0"

Port="4530"

PolicyFile="Policy\assets\socket-policy.xml"

InactivityTimeout="10000"

OverrideApplication="MMoDemo"

>

IPAddress="0.0.0.0"

Port="843"

PolicyFile="Policy\assets\socket-policy.xml"

InactivityTimeout="10000">

IPAddress="0.0.0.0"

Port="943"

PolicyFile="Policy\assets\socket-policy-silverlight.xml"

InactivityTimeout="10000">

IPAddress="0.0.0.0"

Port="9090"

DisableNagle="true"

InactivityTimeout="10000"

OverrideApplication="MMoDemo">

Assembly="PhotonHostRuntime, Culture=neutral"

Type="PhotonHostRuntime.PhotonDomainManager"

UnhandledExceptionPolicy="Ignore">

Name="MMoDemo"

BaseDirectory="MmoDemo"

Assembly="Photon.MmoDemo.Server"

Type="Photon.MmoDemo.Server.PhotonApplication"

ForceAutoRestart="true"

WatchFiles="dll;config"

ExcludeFiles="log4net.config">

Name="CounterPublisher"

BaseDirectory="CounterPublisher"

Assembly="CounterPublisher"

Type="Photon.CounterPublisher.Application"

ForceAutoRestart="true"

WatchFiles="dll;config"

ExcludeFiles="log4net.config">

MaxMessageSize="512000"

MaxQueuedDataPerPeer="512000"

PerPeerMaxReliableDataInTransit="51200"

PerPeerTransmitRateLimitKBSec="256"

PerPeerTransmitRatePeriodMilliseconds="200"

MinimumTimeout="5000"

MaximumTimeout="30000"

DisplayName="My Game" 显示名

>

UDP

IPAddress="0.0.0.0"

Port="5055"

OverrideApplication="MyGame1">

TCP

IPAddress="0.0.0.0"

Port="4530"

PolicyFile="Policy\assets\socket-policy.xml"

InactivityTimeout="10000"

OverrideApplication="MyGame1"

>

Assembly="PhotonHostRuntime, Culture=neutral"

Type="PhotonHostRuntime.PhotonDomainManager"

UnhandledExceptionPolicy="Ignore">

应用配置

Name="MyGame1" 应用名

BaseDirectory="MyGameServer" 存放的文件夹

Assembly="MyGameServer" 程序集名称

Type="MyGameServer.MyGameServer" 启动名称

ForceAutoRestart="true" 强制重启

WatchFiles="dll;config"

ExcludeFiles="log4net.config"> 日志文件

相关灵感

beat365体育亚洲入口 蜀汉五虎将列传

蜀汉五虎将列传

📅 09-24 👁️ 6255
365bet吧 贝尔挺和臻挺美哪个好,贝尔挺和臻挺美哪个好用
365bet吧 高德地图上的5种颜色,高德地图蓝色路段能走吗
365bet吧 海银财富涉嫌非法集资被立案侦查:真相浮出水面,投资者如何应对?
365bet吧 win10为什么游戏启动不了 win10打不开游戏的解决方法
mobile365 关于没什么没什么的四字词语(没有什么用成语形容)(40个)
mobile365 94世界杯罗纳尔多夺冠(为什么罗纳尔多决赛发挥失常,还能够获得98年世界杯的金球奖?)
365bet吧 王者荣耀最难打的段位是什么 王者荣耀最难打的段位排名
mobile365 缚絷的意思、缚絷的详细解释

缚絷的意思、缚絷的详细解释

📅 07-17 👁️ 7404