1 Client 2 SmartFox Servers

Post here all your questions related with SmartFoxServer .Net/Unity3D API

Moderators: Lapo, Bax

Post Reply
MichaelDuncan
Posts: 1
Joined: 11 Mar 2010, 22:46
Location: Seattle, WA

1 Client 2 SmartFox Servers

Post by MichaelDuncan »

Quick question... Is it possible to have a unity app connected to 2 separate SFS servers? I am trying and keep ending up with a lost socket connection warning.

Thanks for the help.
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Post by ThomasLund »

I would guess (never tried it myself), that it is not possible without some reworking of the event handler system.

I would expect it to run into the same restrictions as running 2 SFS clients in the same application (for e.g. unit testing purposes), where the API event callback registration doesnt happen on a per client instance. This is not supported either. Future development will remove this restriction, but it wont be right now.

But it might be possible - the above is just purely my guess without trying

/Thomas
Post Reply