theturtle32 / AS3WebSocket

ActionScript 3 WebSocket client implementation for the final WebSocket Draft RFC6455
Apache License 2.0
247 stars 97 forks source link

Example for connecting to Socket.IO 0.9.x #11

Closed nestradaOBS closed 11 years ago

nestradaOBS commented 11 years ago

Hello,

I'm unable to get a working example for interfacing with socket.io/engine.io.. Is there a working example somewhere? I've tried many things, but transport errors, missing protocols and destroyed upgrades are all I came up with...

Nicolas

theturtle32 commented 11 years ago

Socket.IO uses websocket as an option for the underlying transport, but it defines it's own protocol on top of that. its not pure websocket. AS3WebSocket is a raw websocket library, so you'd have to implement the socket.io parts on top of that yourself. It's not designed to interoperate with socket.io out of the box.

Brian

Sent from my iPhone

On Aug 4, 2013, at 11:03 AM, nestradaOBS notifications@github.com wrote:

Hello,

I'm unable to get a working example for interfacing with socket.io/engine.io.. Is there a working example somewhere? I've tried many things, but transport errors, missing protocols and destroyed upgrades are all I came up with...

Nicolas

— Reply to this email directly or view it on GitHub.