Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

socket.io from 1.0 doesnot work with elephant #52

Closed
lukyrys opened this issue Jun 26, 2014 · 1 comment
Closed

socket.io from 1.0 doesnot work with elephant #52

lukyrys opened this issue Jun 26, 2014 · 1 comment

Comments

@lukyrys
Copy link

lukyrys commented Jun 26, 2014

After a grueling solve the connection problem I ran into another problem with sending messages.It seems that socket.io js client sends some utf characters before sending data

With same input i got this -
socket.io js client for 1.0.6

socket.emit('init',{ 
        'hash' : 'Wl3xRMUOD3I2o2HcsROqJq5M66bVf0g4UQhhaZjjkl1aApiKSuTv3/EKiw6jTnvkBanrooyKwoSBVRqN3J7Xgg=='
    });

http://i.imgur.com/yH5DZ6Z.png

elephant.io for socket.io server 1.0.6

        $client->send(
                \ElephantIO\Client::TYPE_EVENT,
            null,
            null,
            json_encode(array('init' => array('hash' => 'Wl3xRMUOD3I2o2HcsROqJq5M66bVf0g4UQhhaZjjkl1aApiKSuTv3/EKiw6jTnvkBanrooyKwoSBVRqN3J7Xgg==')))
        );

http://i.imgur.com/G0KGljR.png

@Taluu
Copy link
Contributor

Taluu commented Jun 26, 2014

Hello,

We know that ElephantIO is not working for Socket.io >= 1.0, as it has already been reported (cf #47 (comment)). As @guillaumepotier mentionned it, we will try to update the support in July or something like that ; you are welcome to help us ! :)

Closing this one as it duplicates #47.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants