style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-7505528228218001"
data-ad-slot="1225241371">

Everything tested and compiled

Things are looking really good. I'm compiling multi JRE version jar files, packaging it, generating multiple javadocs and upload to webserver. Tests are passing. The documentation has been updated to reflect the various differences between JRE versions of the API.

Here is a console output of a build on WinXP platform.

Buildfile: C:\jnetstream\jnetpcap\build.xml
clean:
   [delete] Deleting directory C:\jnetstream\jnetpcap\build
   [delete] Deleting directory C:\jnetstream\jnetpcap\dist
prep-dist:
    [mkdir] Created dir: C:\jnetstream\jnetpcap\dist
prep-checks:
prep-build:
    [mkdir] Created dir: C:\jnetstream\jnetpcap\build
prep-jni:
    [mkdir] Created dir: C:\jnetstream\jnetpcap\build\obj
prep-lib:
    [mkdir] Created dir: C:\jnetstream\jnetpcap\build\lib
prep-javah:
    [mkdir] Created dir: C:\jnetstream\jnetpcap\build\include
release-settings:
comp-java:
prep-build:
prep-java:
    [mkdir] Created dir: C:\jnetstream\jnetpcap\build\classes1.4
comp-java-jre:
    [javac] Compiling 21 source files to C:\jnetstream\jnetpcap\build\classes1.4
prep-build:
prep-java:
    [mkdir] Created dir: C:\jnetstream\jnetpcap\build\classes1.5
comp-java-jre:
    [javac] Compiling 21 source files to C:\jnetstream\jnetpcap\build\classes1.5
comp-javah:
     [echo] Generating: ./build/include/org_jnetpcap_Pcap.h
     [echo] Generating: ./build/include/org_jnetpcap_PcapBpfProgram.h
     [echo] Generating: ./build/include/org_jnetpcap_PcapDumper.h
     [echo] Generating: ./build/include/org_jnetpcap_PcapPktHdr.h
     [echo] Generating: ./build/include/org_jnetpcap_PcapPktBuffer.h
     [echo] Generating: ./build/include/org_jnetpcap_PcapStat.h
     [echo] Generating: ./build/include/org_jnetpcap_PcapIf.h
     [echo] Generating: ./build/include/org_jnetpcap_PcapAddr.h
     [echo] Generating: ./build/include/org_jnetpcap_PcapSockAddr.h
     [echo] Generating: ./build/include/org_jnetpcap_winpcap_WinPcap.h

Version 1.2 API changes

The new release I'm almost finished with has some slight additions and interesting twists to the API.

New release in the works - version 1.2

I've been fixing a few things in the 1.1 as well as adding new features. Nothing major. The biggest is 1.2 will be a dual library providing support for both Java 1.4 and Java 5 runtimes. I've duplicated the sources code under src/java1.4 and src/java1.5 directories and utilized syntax for appropriate java syntax compatibility level. The functionality is exactly the same in both versions but the 1.4 does not utilize any of the new Java 5 syntax or java 5 binary classfile format.

Website on SourceForge.net status!

If you are wondering what happened to the jnetpcap.sourceforge.net website, its gone down for maintenance by SourceForge crew. The maintenance windows are ridiculously long days even weeks sometimes. jNetPcap website is moving to here soon and will no longer be hosted at SourceForge.net.

It will take some time to copy and setup all the examples and books that were hosted on the SF.net site.

Sincerely,
Mark Bednarczyk

What do our customers have to say?

Dimentrix recommends jnetpcap as the Java library of choice when reading packets off the network. We have used this library extensively in our flagship "sqlShark" (http://www.sqlshark.com) and it has performed admirably. Even under tremendous load, the memory usage was low and response time high. We are also very satisfied with the support given to us by Sly Technologies. Their engineers were prompt in resolving any issues, proficient in network programming and level of commitment was at par with any ISO certified organization.

Vikram Roopchand
Dimentrix, Inc.
http://dimentrix.com


Posted by wkunes — 2012-04-24
Nice and Easy to use.
Posted by Ian — 2012-03-27
jnetpcap works perfectly, thanks
Posted by DimitrisK
Great, it's interesting.