├── .clang-format ├── .gitignore ├── .gitmodules ├── .vscode ├── launch.json └── tasks.json ├── CMakeLists.txt ├── LICENSE ├── README.md ├── README.zh-CN.md ├── bin ├── client.json └── server.json └── src ├── client.cpp ├── client.h ├── client └── main.cpp ├── cs_message.h ├── handshake.h ├── log.cpp ├── log.h ├── message.cpp ├── message.h ├── prefix.h ├── proxy_socket.cpp ├── proxy_socket.h ├── server.cpp ├── server.h ├── server └── main.cpp ├── session.cpp └── session.h /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/.gitmodules -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/README.zh-CN.md -------------------------------------------------------------------------------- /bin/client.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/bin/client.json -------------------------------------------------------------------------------- /bin/server.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/bin/server.json -------------------------------------------------------------------------------- /src/client.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/client.cpp -------------------------------------------------------------------------------- /src/client.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/client.h -------------------------------------------------------------------------------- /src/client/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/client/main.cpp -------------------------------------------------------------------------------- /src/cs_message.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/cs_message.h -------------------------------------------------------------------------------- /src/handshake.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/handshake.h -------------------------------------------------------------------------------- /src/log.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/log.cpp -------------------------------------------------------------------------------- /src/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/log.h -------------------------------------------------------------------------------- /src/message.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/message.cpp -------------------------------------------------------------------------------- /src/message.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/message.h -------------------------------------------------------------------------------- /src/prefix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/prefix.h -------------------------------------------------------------------------------- /src/proxy_socket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/proxy_socket.cpp -------------------------------------------------------------------------------- /src/proxy_socket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/proxy_socket.h -------------------------------------------------------------------------------- /src/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/server.cpp -------------------------------------------------------------------------------- /src/server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/server.h -------------------------------------------------------------------------------- /src/server/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/server/main.cpp -------------------------------------------------------------------------------- /src/session.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/session.cpp -------------------------------------------------------------------------------- /src/session.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kezhengjie/cppnat/HEAD/src/session.h --------------------------------------------------------------------------------