I am starting to learn SFS2x, and today I am testing the example project "Connector" in the tutorial. When I ran the project in simulator, it connect to the sfs successfully. However, when I depoly the project on my iOS device, it can not connect to the sfs which run on my iMac. I have do some setting on the config.xml in "Connector" project, this is my config.xml:
Code: Select all
<SmartFoxConfig>
<ip>192.168.1.166</ip>
<port>9933</port>
<udpHost>192.168.1.166</udpHost>
<udpPort>9934</udpPort>
<blueBoxIpAddress>192.168.1.166</blueBoxIpAddress>
<blueBoxPort>8080</blueBoxPort>
<httpPort>8080</httpPort>
<httpPollSpeed>750</httpPollSpeed>
<zone>BasicExamples</zone>
</SmartFoxConfig>
And also I have configured my sfs. I added an ip address "192.168.1.116".
However, it just does not work. I do not know what is the problem?