libpomelo2
libpomelo2 copied to clipboard
A New Client SDK for Pomelo
好像在ipv6 only环境下有连接不上服务端的情况,请问有谁能指点下吗?是否需要修改libpomelo的源代码》
有人遇到过吗? 
http://blog.csdn.net/dc_show/article/details/39695985?ticket=ST-312071-VajRgrg6FVSocLhSUsK3-passport.csdn.net 这篇文章的方法 我试过了,生成了Makefile文件,但是make的时候报错,不知道为什么  希望大神帮我解决这个问题
Please kindly include how i Integrate this lib with Cocos2d-x
Thanks a lot.
I'm running unit tests on my [lua-pomelo](https://github.com/xpol/lua-pomelo) got follow error: > Assertion failed: (client->state == PC_ST_CONNECTING || client->state == PC_ST_DISCONNECTING), function pc__trans_fire_event, file /Users/xpol/Workspace/lua-pomelo/deps/libpomelo2/src/pc_trans.c, line 111. The equal c code...
你好, 如果Server启动Protobuf,并且定义了serverProtos.json,libPomelo2将无法解码。 跟了一下代码,发现pc_default_msg_decode中,msg.route没有办法获得,因为从Server回来的消息这个字段是没有的。 比对了JS的实现如下, ` if(msg.id > 0){ msg.route = routeMap[msg.id]; delete routeMap[msg.id]; if(!msg.route){ return; } } ` JS客户端回在请求发起前把request ID和route的关系存在一个map里面,回头收到响应的时候通过查这个表得到route,但是libpomelo2没有这个步骤,所以怀疑问题出在这儿,我自己看了一下,因为对代码不了解,还不知道该如何修改,请帮忙修复这个BUG,谢谢
1. unlock event queue when handling event. 2. and make lock scope smaller.
1. split sync and async code in `pc_tranc.c` into different functions. 2. `pc__trans_resp`, `pc__trans_sent` and `pc__trans_fire_event` will not queue items, the `pending` arg has removed. 3. do state change in...