Creating a websocket API

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

Moderators: Lapo, Bax

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

Creating a websocket API

Post by n72 »

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

Post by brice »

hello n72

did you managed to connect to SFS via websockets ?
Post Reply