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

模仿pomelo-unitychat-socket写的client只能发,无法收到消息,pc.on(route,data);无法收消息 #4

Open
icekingcy opened this issue Sep 27, 2014 · 0 comments

Comments

@icekingcy
Copy link

服务端用的chatofpomelo-websocket
官网客户端pomelo-unitychat-socket -->build出来为 pomelo.exe

运行两个pomelo.exe 可以互相进行 发送,接收,一切正常

模仿pomelo-unitychat-socket的写法,自己写了个client,build出来为 my.exe

现在运行 2个pomelo.exe,运行2个my.exe
任意一个my.exe 发送消息出去, 两个pomelo.exe都可以收到。
选择其中一个pomelo.exe发消息,另外一个pomelo.exe可以收到,但2个my.exe无法收到

问题:是否是pc.on(route,data)这边处理有问题? 但我是完全模仿官方demo的写法啊。困在这快一周了,希望有人解答下~~谢谢!!!!!

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

1 participant