Skip to content

使用engine.io-client怎么连接简聊服务 #19

Open
@dereksn

Description

@dereksn

我知道简聊的实时通讯框架是基于primus+engine.io的。我现在需要开发一个简聊的android客户端,但苦于没有primus的java客户端可用,我决定使用engine.io的客户端直接连接,方案应该是没问题的吧?我使用primus+engine.io搭建了一个简易的server,engine.io-client-java库能连接到(创建Socket时的URL形式为:http://host:port;同时需要在Socket.Option.path中写入“/primus"方可连接到)。但使用同样的客户端代码却连接不到简聊的通讯服务(Socket.Option.path我尝试了”/primus"、“/snapper/primus"都不行)。能否给与帮助,各位?

Activity

wlanjie

wlanjie commented on Jul 26, 2016

@wlanjie
dereksn

dereksn commented on Jul 27, 2016

@dereksn
Author

Thank you very much!

On Jul 26, 2016, at 16:52, wlanjie <notifications@github.com mailto:notifications@github.com> wrote:

@dereksn https://github.com/dereksn https://github.com/jianliaoim/talk-android https://github.com/jianliaoim/talk-android Android端开源了


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #19 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AEv_5SML20o3NuHUqb9osHgbO5sQoldqks5qZcrXgaJpZM4JTPox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wlanjie@dereksn

        Issue actions

          使用engine.io-client怎么连接简聊服务 · Issue #19 · jianliaoim/talk-os