This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x-build-tools.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4b0090a  fix(plc4j): Made the bacnet RandomPackagesTest.java execute 
on Windows and updated the documentation on setting up libpcap on Windows.
4b0090a is described below

commit 4b0090a4be756c7d22ffc96445bfe0f19f06b21f
Author: cdutz <[email protected]>
AuthorDate: Sat Feb 26 19:04:04 2022 +0100

    fix(plc4j): Made the bacnet RandomPackagesTest.java execute on Windows and 
updated the documentation on setting up libpcap on Windows.
---
 .../src/site/asciidoc/developers/preparing.adoc         | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git 
a/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/preparing.adoc
 
b/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/preparing.adoc
index 7ab93c9..10514bf 100644
--- 
a/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/preparing.adoc
+++ 
b/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/preparing.adoc
@@ -287,22 +287,19 @@ In order to install it, please download end execute the 
installer from https://g
 
 ==== LibPCAP
 
-A special version of LibPCAP is available for Windows, which is called WinPCAP.
-It is available from https://www.winpcap.org/[here].
-
-However this is a based on a very old version (1.0) of LibPCAP and in order to 
read PCAPNG files we require a libpcap version 1.1.0 or greater.
-A patched windows version can be found here: 
https://sourceforge.net/projects/winpcap413-176/
-(At this location is a patched version based on libpcap 1.7.4)
+A special version of LibPCAP is available for Windows, which is called Npcap.
+It is available from https://npcap.com/[here].
 
 So in order to install things correctly:
 
-1. install the version WinPCP from above location.
-2. Then download the patched version from the sourceforge link and unpack it 
somewhere.
-3. After that copy bin\x64\wpcap.dll from archive to \Windows\System32
-4. Copy bin\wpcap.dll from archive to \Windows\SysWOW64
+1. install the version Npcap from above location.
+2. Add `%SystemRoot%\System32\Npcap\` to your System's `PATH`
+3. Possibly reboot
 
 After this all should be working.
 
+NOTE: If you had WinPcap installed, you need to uninstall this and make sure 
the files `Packet.dll` and `wpcap.dll` are deleted in the 
`%SystemRoot%\System32\` directory. Otherwise `pcap4j` will incorrectly detect 
a wrong version.
+
 ==== gcc
 
 Checking:

Reply via email to