Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go-socket.io-client 连接nodejs socket.io #13

Open
Mountains-and-rivers opened this issue Mar 25, 2019 · 1 comment
Open

go-socket.io-client 连接nodejs socket.io #13

Mountains-and-rivers opened this issue Mar 25, 2019 · 1 comment

Comments

@Mountains-and-rivers
Copy link

你好 我用go-socket.io-client 连接nodejs socket.io 在下面这段代码报错连 原因不明。
p2 := make([]byte, 4096)
l, err = pack.Read(p2)
if err != nil {
return err
}

报错:2019/03/25 16:08:25 NewClient error:EOF

@alone-wolf
Copy link

First of all, please use English on the Global WebSite. 在Github上请使用英语。
The protocol of Socket.IO has several versions, so please check it.

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

No branches or pull requests

2 participants