Git Product home page Git Product logo

Comments (24)

googollee avatar googollee commented on June 6, 2024

Which version of socket.io at node.js server? I only tested with socket.io 0.9.

from go-socket.io.

daviddawson avatar daviddawson commented on June 6, 2024

I tried it with the latest, 1.0.5.

I'll give it a try with 0.9, thanks :-)

David Dawson
CEO, Principal Consultant
Simplicity Itself Limited
Tel +447866011256
Skype: davidadawson
[email protected]
http://www.simplicityitself.com

from go-socket.io.

daviddawson avatar daviddawson commented on June 6, 2024

I've tried with 0.9 server and that does with with this lib so far. I'm happy to do that as it's a new project and go compatibility is one of the priorities.

Looking good, but might be worth a note that 1.0.5 compatibility isn't there yet perhaps?

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

No. I'm working on 1.0 now. socket.io changed a lot after I finished my code. I need to redesign all from bottom :(

from go-socket.io.

MattNewberry avatar MattNewberry commented on June 6, 2024

@googollee would you be open to externalizing your objectives and needs for 1.0 compatibility? I'm in need of a full 1.0 compatible client, else will be switching to node for my current need to prevent being incompatible with new clients (and also with the lack of long polling support).

Happy to help - just needing direction.

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

@MattNewberry socket.io 1.0 separated connection layer to engine.io. I'm working on porting engine.io these days, with long polling support. I think I will finish it this week. Then I will move on to port socket.io 1.0. But I can't say the schedule. I'm doing it on my free time.

from go-socket.io.

MattNewberry avatar MattNewberry commented on June 6, 2024

If you're open to publishing your work to a new branch and defining what needs to be done, I'm sure multiple people would be open toward contributing, including myself.

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

Yes I will publish it. I just, want to make it work first then publish.

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

Just published go-engine.io and will move on to implement socket.io 1.0 based on it.

from go-socket.io.

methane avatar methane commented on June 6, 2024

💯

from go-socket.io.

MattNewberry avatar MattNewberry commented on June 6, 2024

Very impressive!

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

hi, everyone, I just pushed branch 1.0 which support latest socket.io implement. Welcome to try and feedback.

It support long polling and room. I try to add more unit test now and make it stable.

Please tell me your feeling.

from go-socket.io.

MattNewberry avatar MattNewberry commented on June 6, 2024

Awesome news! Thank you for all your work!

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

Oh, I don't implement client now. The branch is only server part.

from go-socket.io.

jgoodall avatar jgoodall commented on June 6, 2024

The 1.0 branch works fine with me (with socket.io-1.0.6.js, downloaded from http://socket.io/download/). Room support and long polling both working from what I can tell.

Do you anticipate moving the 1.0 branch to master soon? I couldnt figure out a good way to get the code using go get (no branch support on github from what I could tell). Maybe move 0.9 support to a separate repo?

Anyway - great project, thank you!

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

@jgoodall Yes. I still want to change the implement of room adaptor, to make it more easy to add another adaptor, like redis. After that, I will make it master branch.

I'm glad to see you happy with my project. :)

I'm not sure how to deal with 0.9 support. Make a new repo or a new branch? Seems if want to use go get easily, new repo is more comfortable way.

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

@jgoodall I just move 1.0 branch to master, and make a 0.9.x branch for old code.

from go-socket.io.

jgoodall avatar jgoodall commented on June 6, 2024

great, go get works as expected.

from go-socket.io.

MattNewberry avatar MattNewberry commented on June 6, 2024

Thanks for all your work! Any ETA on the client implementation?

from go-socket.io.

jgoodall avatar jgoodall commented on June 6, 2024

for using go get with 0.9 vs 1.0 - I hadnt realized this, but maybe you can use -tags

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

@MattNewberry I will do the client, but not sure the finish time. I'm working on CoreOS/etcd now. I will do it when I finish the CoreOS issue.

I will keep this issue open till the client finished. Do you need the client urgently?

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

@jgoodall Yes there is a 0.9.x tag for 0.9 implement.

from go-socket.io.

MattNewberry avatar MattNewberry commented on June 6, 2024

That's great - I've tinkered with CoreOS before, it's a great project I hope to use in the future. It's not an urgent matter, but will be useful once completed for my test harness.

from go-socket.io.

googollee avatar googollee commented on June 6, 2024

Hi everyone, could you try latest version? Please update go-engine.io which is the base of go-socket.io. And it fixed a lot of bugs like no disconnect event.

And if meet any issue, please open a new issue.

from go-socket.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.