# dulnet **Repository Path**: renyucjs/dulnet ## Basic Information - **Project Name**: dulnet - **Description**: 一个端口复用及网口绑定的测试程序 - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-27 - **Last Updated**: 2021-09-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dulnet #### 介绍 一个端口复用及网口绑定的测试程序 #### 软件架构 软件架构说明 #### 安装教程 - run gn gen to create build scripts - run ninja to build ### Step1: Gen build scripts example: build at host in debug mode ~~~ gn gen out/default --args='is_debug=true' ~~~ example: build in cross-platform ~~~ gn gen out/ssd201 --args='target_os="linux" target_cpu="ssd201"' ~~~ About the args: ~~~ is_debug - [true/false] : if is_debug is true, macro "__DEBUG" will be defined during building. target_os - [linux/ios/android/win]: macro __OS_LINUX/__OS_IOS/__OS_ANDROID/__OS_WIN will be defined target_cpu - [x86/x64/ssd201]: macro __CPU_X86/__CPU_X64/__CPU_SSD201 will be defined ~~~ the args will be defined in file: ~~~ /out//args.gn ~~~ ### Step2: Run ninja ~~~ ninja -C out/ ~~~ #### 使用说明 Usage: ~~~ dulnet [-l local_ip, default:any] [-p port, defalut:12345] [-i interface, default:eth0] ~~~ Example: ~~~ dulnet -l 127.0.0.1 -p 12345 -i eth0 ~~~ #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)