Search found 38 matches

by dhuang11
06 Mar 2015, 05:42
Forum: SFS2X C++ API
Topic: Issue when other user leaves room
Replies: 2
Views: 2645

Issue when other user leaves room

We've run into some strange user/room behavior. The scenario is this: - User A joins Room 1 and User B joins Room 1 - Look at room count as found in room->UserCount(), it shows correctly as 2 users - User A disconnects from SFS2X (logout and/or disconnect is the same) while still in Room 1 - User B ...
by dhuang11
27 Jun 2014, 08:59
Forum: SFS2X C++ API
Topic: Using domain name instead of IP address for BlueBox
Replies: 3
Views: 3243

Re: Using domain name instead of IP address for BlueBox

Oh yea - please let us know whether this fix will get merged into the next version of the API so we don't need to maintain such a minor change on our own going forward.

Thanks.
by dhuang11
27 Jun 2014, 08:58
Forum: SFS2X C++ API
Topic: Using domain name instead of IP address for BlueBox
Replies: 3
Views: 3243

Re: Using domain name instead of IP address for BlueBox

Ok I think we've fixed this. In the code, it looks like the intention was to always use the DNS resolved IP address for all connections but there was a bug where the wrong value was being set as the lastIpAddress and that was the value that would get used by BBClient to connect to BlueBox after the ...
by dhuang11
27 Jun 2014, 08:35
Forum: SFS2X C++ API
Topic: Using domain name instead of IP address for BlueBox
Replies: 3
Views: 3243

Using domain name instead of IP address for BlueBox

Using the latest (1.1.2) SFS2X C++, we are able to connect using TCP and UDP by configuring a DNS resolvable hostname. This all seems to work really well as the hostname is properly resolved to an IP address. We tried to test on BlueBox today and could not get it to connect. After spending a lot of ...
by dhuang11
18 Jun 2014, 04:49
Forum: SFS2X C++ API
Topic: Can't build the new Client API for C++ with boost 1.55.0

Replies: 4
Views: 4316

Re: Can't build the new Client API for C++ with boost 1.55.0

We got all of this compiling and working for iOS yesterday. A couple gotchas - boost_1_55 has a bug when compiled on the latest Xcode where the boost thread lib doesn't correctly compile for i386 and x86_64 (iOS simulator) but compiles fine for the other arm variants. You'll need to patch 2 boost so...
by dhuang11
05 Jun 2014, 10:11
Forum: SFS2X C++ API
Topic: C++ for WP8
Replies: 4
Views: 3685

Re: C++ for WP8

Have looked into this further. Even if it were possible to compile Boost for WP8/WinRT ARM, SFS2X C++ makes use of boost::thread API's which make use of some system libraries that Microsoft forbids to be used in Windows store apps. http://social.msdn.microsoft.com/Forums/windowsapps/en-US/a54ad38d-9...
by dhuang11
14 May 2014, 10:12
Forum: SFS2X C++ API
Topic: C++ for WP8
Replies: 4
Views: 3685

Re: C++ for WP8

Really glad to know that this is being investigated. For now, we've wrapped up all calls to SmartFoxServer2x and the Android, iOS, Win32 and Mac versions call into a C++ wrapper that we've created on top of the SFS2X C++ API. For WP8, we use some C++/Cxx classes to bridge from native C++ to/from the...
by dhuang11
02 May 2014, 09:24
Forum: SFS2X C++ API
Topic: C++ for WP8
Replies: 4
Views: 3685

C++ for WP8

Has anyone had any success compiling SFS2X C++ client API for WP8? We've gotten the C++ client API to work with Cocos2D-X on iOS, Android, Win32 but cannot get it to work on WP8. We are having trouble getting the boost libraries to compile for Win ARM. Has anyone had any luck getting this combinatio...

Go to advanced search