unity |
Unity Technote 00006: Manually retrieving a socket policy file
This technote describes how to configure a Flash client application to manually retrieve a socket policy file from Unity Multiuser Server.
uSimpleChatConfig.xml
.<policyPort>
tag, specify the port on which Unity's Policy File Server is running (default port is 9102; master port is 843). For example, here is the uSimpleChatConfig.xml
configuration file:
<?xml version="1.0"?>
<config>
<server>moock.org</server>
<port>9100
<logLevel>DEBUG</logLevel>
<policyPort>9102</policyPort>
</config>
UClient.setServer()
before connecting to Unity Multiuser Server.
Revision history
April 5, 2008: Posted