Qize Huang
Results
1
issues of
Qize Huang
没有其它的特性,只是简单地基于 UDP 封装了一个类似于 TCP 的接口,很简单的工作,见笑了: https://github.com/hgoldfish/qtnetworkng/blob/master/include/kcp.h 使用方式大概是这样: //client.cpp #include "qtnetworkng.h" void main() { KcpSocket s; if (s.connect("remotehost", 8000)) { s.sendall("hello!"); } } //server.cpp void main() { KcpSocket s; s.bind(8000); s.listen(50);...