A Header-Only cross-platform C++ TCP network library . We can use vcpkg(https://github.com/Microsoft/vcpkg/tree/master/ports/brynet) install brynet.
A Header-Only cross-platform C++ TCP network library . We can use vcpkg(https://github.com/Microsoft/vcpkg/tree/master/ports/brynet) install brynet.
Header Only Cross platform high performance TCP network library using C++ 11. -blue.svg)
cmake . -Dbrynet_BUILD_EXAMPLES=ON -Dbrynet_BUILD_TESTS=ONmake.cmake .sudo make installUnder localhost, use CentOS 6.5 virtual mahcine(host machine is Win10 i5)
PingPong
Benchamrk's server and client both only use one thread, and packet size is 4k
Broadcast
Server use two network threads and one logic thread, client use one network(also process logic) thread. every packet size is 46 bytes. every packet contain client's id. server broadcast packet to all client when recv one packet from any client. client send one packet when recv packet from server and packet's id equal self.
Ab HTTP(1 network thread)
…No open issues yet, or sync has not completed.