banner
ximalaya

ximalaya

这里是openkava 的blog,关注程序开发的一切技术。 ZZ 表示转载的文章,如涉及版权,请和我联系删除。 在这里你可以看到关于以下技术的文章: 移动开发技术,ANDROID ,IOS,WINDOWS PHONE平台开发,企业ERP开发,动态脚本PYTHON ,OPENGL ES 3D技术,游戏开发技术,HTML5 ,JAVASCRIPT ,MYSQL,AMAZON EC2 ,GOOGLE GAE ,GOOGLE CLOUD SQL 等 。 本站发展历程: 2010年,正式把所有的blog移到这里,租用godaddy的空间,记录生活和工作上的一些心得。 下面是关于我的个人介绍,写在这里权当凑字数啦。 职业:软件开发,开发经验6年,管理经验3年; 工作上使用的技术:C#, SQL SERVER 个人使用的技术:PYTHON,PHP, CSS, JAVA ,ANDROID ,object-c 等等 联系我请发邮件:<a href="http://blog.openkava.com/openkava@gmail.png"><img class="alignnone size-full wp-image-96" title="邮箱" src="http://blog.openkava.com/openkava@gmail.png" alt="" width="174" height="24" /></a>

smartfoxserver 2x Study Notes 1

To develop multiplayer online games or chat rooms, smartfoxserver is a good tool for taking notes.

The community version allows for 100 concurrent connections, additional connections require payment.

The official website provides comprehensive APIs and examples. Here, I will record some things I have learned that are not mentioned by the official documentation.

1 smartfox server uses Jetty as the internal server and allows for writing extensions in Java and Python.

Of course, you can also write Servlets. Currently, there are only examples for Python, which can be dynamically compiled and executed.

Installation is very simple. In Linux, download and unzip the package, then go to the SFS2X/ directory and run it as a service or in a command window.

In the config directory, there is a configuration file called server.xml. Modify the external IP address binding in order to access it from outside.

In jetty/jetty.xml, you can configure the server port for the management interface.

2 sfsclient.send(LoginRequest("username", "pass", "zone", ISFSObject)

It is best to include your own client information as the last parameter.

Before sending a login request from the client, do not send an ExtensionRequest.

3 sfs client supports Android, Flash, iOS, and Unity.

 

 

 

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.