How do I know if smartfox connected through bluebox?

Submit all your BlueBox related questions or report a bug here!

Moderators: Lapo, Bax

Godai
Posts: 29
Joined: 23 Jan 2009, 12:14

How do I know if smartfox connected through bluebox?

Postby Godai » 25 Aug 2009, 06:55

In our game we would like to log whenever users behind firewalls connect through bluebox. Is there anyway to do this?

Thanks in advance :)
User avatar
Lapo
Site Admin
Posts: 21229
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 25 Aug 2009, 07:26

There's a nice method under the SmartFoxClient class called getConnectionMode:
http://www.smartfoxserver.com/docs/docP ... ectionMode
Lapo
--
gotoAndPlay()
...addicted to flash games
Godai
Posts: 29
Joined: 23 Jan 2009, 12:14

Postby Godai » 25 Aug 2009, 07:27

Thanks. You da man! :)

Return to “BlueBox”

Who is online

Users browsing this forum: No registered users and 1 guest