hesh915 / go-socket.io-client

socket.io client for golang
BSD 3-Clause "New" or "Revised" License
97 stars 68 forks source link

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

Open Mountains-and-rivers opened 5 years ago

Mountains-and-rivers commented 5 years ago

你好 我用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 commented 3 years ago

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