简体   繁体   English

使用哪个jpcap库?

[英]Which jpcap library to use?

I'm new to jpcap and I have been looking for a most useful, the best, the most widely used, the most popluar jpcap library? 我是jpcap的新手,我一直在寻找最有用,最好,最广泛使用,最流行的jpcap库?

i came across these jpcap libraries. 我遇到了这些jpcap库。

The one on http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/ ? http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/上的那个?

, the one on http://jpcap.sourceforge.net/ ? http://jpcap.sourceforge.net/上的那个?

, the one from github? ,来自github的那个? , and the one from jnetpcap.com/node ,以及来自jnetpcap.com/node的那个

is there any better jpcap library or there is a standard jpcap library provided by Oracle? 是否有更好的jpcap库或Oracle提供的标准jpcap库?

I want to know which is the most useful, the best, the most widely used, the most popluar jpcap library? 我想知道哪个是最有用,最好,最广泛使用,最流行的jpcap库?

I use this version of JPCAP . 我使用这个版本的JPCAP The other versions hosted on SourceForge or GitHub jpcap/jpcap are similar, but don't support sending packets (they only capture packets). 托管在SourceForge或GitHub jpcap/jpcap上的其他版本类似,但不支持发送数据包(它们只捕获数据包)。

Well all of these libraries are just wrappers making native library calls. 所有这些库都只是包装器进行本机库调用。 The main library is libpcap which is written in C. All these libraries like jpcap and jnetpcap just use libpcap underneath. 主库是libpcap,用C语言编写。所有这些库如jpcap和jnetpcap只使用下面的libpcap。 I have used both jpcap and jnetpcap and through personal experience i would suggest that you use jnetpcap as it is much easier to use, has a good documentation with examples and it has a recently updated version. 我已经使用了jpcap和jnetpcap,并且根据个人经验,我建议你使用jnetpcap,因为它更容易使用,有一个很好的文档和示例,它有一个最近更新的版本。 You can download it from http://jnetpcap.com 您可以从http://jnetpcap.com下载它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM