Socket Server.

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

WorldOfNyan
Posts: 34
Joined: 17 Sep 2011, 22:04
Location: Florida
Contact:

Socket Server.

Postby WorldOfNyan » 24 Jan 2012, 19:41

Hello! I was thinking about running my game on a Socket Server. I would have alot more choices in things with this. 1 problem is that I have no clue how to start/set one up? Any help would be appreciated!
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Postby rjgtav » 24 Jan 2012, 21:48

Hi.

It looks like you're doing some confusion there. SmartFoxServer is a Socket Server, which is a server that works with sockets. Now what you need is a VPS (Virtual Private Server) with an OS (Linux or Windows - Linux are better and cheaper - please don't use CentOS, it is known for not working very well with SFS).

After you get your VPS, the installation is very simple, it's the same as when you install on your PC, the only difference is that you have no Desktop, only a console.

I suggest you to read this chapter of the docs, it has there the steps to install SFS on every OS.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
WorldOfNyan
Posts: 34
Joined: 17 Sep 2011, 22:04
Location: Florida
Contact:

Xml <<Php

Postby WorldOfNyan » 09 Feb 2012, 00:02

Hey! Ok I understand what I am meaning is that its a xml server not php? Is there a way I can recreate or re configure it into a php server?
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Postby rjgtav » 09 Feb 2012, 18:58

SFS is not a xml server... XML is just one of its protocols... You also have, for eample, raw-string based protocol at your disposal...

Regarding the other question, PHP is a server-side language, used in webservers... SFS also comes with an internal webserver (Jetty), which I think it can support php.

But for working with SFS, in my opinion, its much better if you handle the server-side - including DB work- with extensions.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 29 guests