MIT License

项目介绍

wangbojing/NtyTcp 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 MIT License 许可证,目前获得 751 个 Star、307 次 Fork。

仓库全名
wangbojing/NtyTcp
开源许可证
MIT License
Star 数
751
Fork 数
307
未关闭 Issue
8

README 摘要

netmap install netmap install complete. Troubleshooting 1. problem : configure --> /bin/sh^M. you should run . 2. problem : cannot stat 'bridge': No such or directory NtyTcp netmap, dpdk, pfring, Tcp Stack for Userspace compile: update NtyTcp/include/ntyconfig.h block server run: epoll server run: Reference Level-IP and saminiir blog Linux kernel TCP/IP stack if you discover bug to sending email to…

完整内容见 GitHub 原始 README 或本页 。

常见问题

NtyTcp 用什么语言开发?

主要使用 C 编写,采用 MIT License 许可证,目前有 751 个 Star。

NtyTcp 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 NtyTcp 的源码?

可以直接克隆仓库:git clone https://github.com/wangbojing/NtyTcp.git,默认分支为 master;安装与运行步骤见仓库 README。

NtyTcp 最近还在维护吗?

仓库最近一次更新为 2025年4月7日,当前有 8 个未关闭 Issue;Star 数为 751,可作为社区活跃度的参考。

简要分析

热度分
1394
价值分
545
活跃状态
活跃

语言占比

C
Makefile

Release

README

image

netmap install

$ git clone https://github.com/wangbojing/netmap.git

$ ./configure

$ make 

$ sudo make install

netmap install complete.

Troubleshooting

1. problem : configure --> /bin/sh^M.

you should run . 
$ dos2unix configure

$ dos2unix ./LINUX/configure

2. problem : cannot stat ‘bridge’: No such or directory

$ make clean

$ cd build-apps/bridge

$ gcc -O2 -pipe -Werror -Wall -Wunused-function -I ../../sys -I ../../apps/include -Wextra    ../../apps/bridge/bridge.c  -lpthread -lrt    -o bridge

$ sudo make && make install

NtyTcp

netmap, dpdk, pf_ring, Tcp Stack for Userspace

compile:

$ sudo apt-get install libhugetlbfs-dev

$ make

update NtyTcp/include/nty_config.h


#define NTY_SELF_IP		"192.168.0.106" 	//your ip

#define NTY_SELF_IP_HEX	0x6A00A8C0 			//your ip hex.

#define NTY_SELF_MAC	"00:0c:29:58:6f:f4" //your mac

block server run:

$ ./bin/nty_example_block_server

epoll server run:

$ ./bin/nty_example_epoll_rb_server

Reference

if you discover bug to sending email to [email protected].

also, want to be an NtyTcper, so you can sent email to [email protected] .

评论

暂无评论