Keywords:Networking, Libraries & Frameworks & Tools & Documents Notes

Networking Layer

Cross-platform asynchronous I/O
https://github.com/libuv/libuv

RakNet is a cross platform, open source, C++ networking engine for game programmers.
https://github.com/facebookarchive/RakNet

HTTP

nginx-1.9.2源码通读分析注释,带详尽函数中文分析注释以及相关函数流程调用注释,最全面的nginx源码阅读分析中文注释,更新完毕。
https://github.com/y123456yz/reading-code-of-nginx-1.9.2

Rollback - Input Prediction

Good Game, Peace Out Rollback Network SDK
https://github.com/pond3r/ggpo

Reliable UDP

KCP - A Fast and Reliable ARQ Protocol
https://github.com/skywind3000/kcp

Lite reliable UDP library for Mono and .NET
https://github.com/RevenantX/LiteNetLib

ENet reliable UDP networking library
https://github.com/lsalzman/enet

Tunnel

A rule-based tunnel in Go.
https://github.com/Dreamacro/clash

Issues

WebSocket Issues: error on reading from skt : 10054

Error code on server:

error on reading from skt : 10054

Caused by:
Client disconnected from server.

Benchmark

WebSocket vs. TCP

WebSockets performs quite well, with an average round trip time of about 20 microseconds (0.02 milliseconds), but straight up TCP still beats it handily, with an average round trip time of about 2 microseconds (0.002 milliseconds), an order of magnitude less.

WebSockets vs. Regular Sockets
https://medium.com/kifi-engineering/websockets-vs-regular-sockets-b3b8e7ea0708


Is man merely a mistake of God's? Or God merely a mistake of man? ― Friedrich Nietzsche