Skip to content

底层实现traceroute功能,目前在mac os、linux和Android平台经过测试,未采用其他库,移植性比较好

License

Notifications You must be signed in to change notification settings

bgylde/traceroute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

traceroute

使用C语言实现traceroute功能,移植性较好,可以代码集成于项目中。 目前在linux、android平台(需要android交叉编译)经过测试,功能完善。

ps: mac平台系统头文件链接有问题,暂时先不管了~

/**
 * 主要功能函数
 * @param domain 测试的域名或者ip
 * @return traceroute的结果,格式为json
 */
char * traceroute_report(char * host);

About

底层实现traceroute功能,目前在mac os、linux和Android平台经过测试,未采用其他库,移植性比较好

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published