Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Asio_kcp | 446 | 4 years ago | 8 | gpl-2.0 | C++ | |||||
combine kcp with boost::asio. - kcp: a Fast and Reliable udp protocal. | ||||||||||
Jwengine | 202 | a year ago | C | |||||||
A cross-platform C++<->lua server quick solution | ||||||||||
Openwrt Luci Kcp Udp | 12 | 4 years ago | Makefile | |||||||
OpenWRT luci KcpTun Udp2Raw 软件包 | ||||||||||
My_sylar | 6 | 9 months ago | C++ | |||||||
Pure copy from sylar |
worst network lag happen:
asio: 10:51.21
291 295 269 268 231 195 249 230 225 204
enet: 10:51.21
1563 1520 1470 1482 1438 1454 1412 1637 1588 1540
I using boost 1.58
Build g2log
Build muduo
modify the BOOST_LIB_PATH and BOOST_INC_PATH in allmake.sh
do compiling at project root folder: $ . allmake.sh
The third_party folder should like below,
third_party/
g2log/
build/
src/
test_example/
test_performance/
test_unit/
CMakeLists.txt
muduo/
The third_party folder should like below,
third_party/
g2log/
gmock-1.7.0/
gtest-1.7.0/
muduo/
./server/server 0.0.0.0 12345 2>&1 | grep --line-buffered -v -e deadline_timer -e "ec=system:0$" -e "|$" >>bserver.txt
./client_with_asio/client_with_asio 23425 127.0.0.1 12345 500 2>/dev/null
git checkout kcp_bench_mark_test
read the readme.md in this branch. and do compiling thing.
then run server on your server:
./server/server 0.0.0.0 12345 2>&1 | grep --line-buffered -v -e deadline_timer -e "ec=system:0$" -e "|$" >>bserver.txt
git checkout kcp_bench_mark_test
read the readme.md in this branch. and do compiling thing.
./client_with_asio/client_with_asio 23445 120.26.200.117 12345 500 2>/dev/null
# Note: changing the ip and port to your server which is running the asio_kcp_server