the solution of tcp on cocos2d-x
leecjson / cocosnet Goto Github PK
View Code? Open in Web Editor NEWthe solution of tcp on cocos2d-x
License: MIT License
the solution of tcp on cocos2d-x
License: MIT License
https://github.com/leecjson/CocosNet/blob/master/CocosNet/CCSocket.cpp#L201
SO_NOSIGPIPE 应该改为 MSG_NOSIGNAL
当网络数据过来超过了8192就不在读取数据了, 下次网络再来会继续读取后续的,这样就有一个问题,信息不及时,延迟严重
在CCSocket、CCInetAddress等文件里有不少宏定义无法使用,主要是在MAC平台下。
请问ipv6怎么支持,麻烦提供个修改思路。谢谢。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.