Creating a websocket API

Post here all your questions related with beta SmartFoxServer API, such as Shockwave, Ajax ...

Moderators: Lapo, Bax

n72
Posts: 37
Joined: 06 Oct 2009, 00:27

Creating a websocket API

Postby n72 » 18 Jan 2011, 18:41

Hi,

I'm attempting to do a proof of concept to connect to SFS via websockets. First, can anyone let me know if there are any gotchas when doing this? Anything I should be aware of?

I assume this is the first message I would send to the server:

<msg t ='sys'><body action='login' r='0'><login z='MyZone'><nick><![CDATA[name-example]]></nick><pword><![CDATA[pass-example]]></pword></login></body></msg>

Is this correct? Is there anything I have to set up before doing this?

Thanks
brice
Posts: 3
Joined: 05 Apr 2011, 13:53

Postby brice » 03 May 2011, 12:21

hello n72

did you managed to connect to SFS via websockets ?

Return to “Other Client API”

Who is online

Users browsing this forum: No registered users and 1 guest