Hi, I Need Help!!!!!
I'm trying to run the example (Simple Connect) that comes in the installer's smart fox 1.6, never connects to the server.
My settings it's as follow:
In the connectionGUI.cs:
IP: 192.168.0.37 (IP of my computer).
IP in the config.xml of the server:
127.0.0.1.
I'have done using flash and it works fine, i don't know why don't works with unity. Thanks!!!!
It's possible to use smartFox with the web player of Unity?
-
- Posts: 1
- Joined: 09 Nov 2010, 19:23
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Yeah - most likely its a missing policy server (if you use Unity 3.0). If it works from your editor, but not from webplayer - then its definitely the policy part.
You can either use the one referenced from the Unity documentation - or you can use SFS itself as policy server. All you need to do is add the security prefetch policy command before doing _any_ socket/network communication.
Various code examples are to be found in this forums about this
/Thomas
You can either use the one referenced from the Unity documentation - or you can use SFS itself as policy server. All you need to do is add the security prefetch policy command before doing _any_ socket/network communication.
Various code examples are to be found in this forums about this
/Thomas
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Return to “.Net / Unity3D API”
Who is online
Users browsing this forum: No registered users and 20 guests