Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npcap to work with similar behavior as WinPcap #2

Open
wants to merge 2 commits into
base: fullManaged
Choose a base branch
from

Conversation

trivalik
Copy link

@trivalik trivalik commented Dec 2, 2024

I fixed the outstanding to able to work with this library:

  • npcap to work with similar behavior as WinPcap
  • run unit tests without physical adapter is default, in case real adapter verification is necessary, declare REAL define
  • .NET Framework 4 capable, since I needed it
  • take over solution Fix marshalling of StringBuilder errors dotpcap/sharppcap#533 to receive errors from pinvoke, before was broken

Feedback is welcome.

@klaus0x7c4
Copy link
Owner

Thanks for the PR! Sry for late response. I will have a lool :-)

@trivalik
Copy link
Author

trivalik commented Jan 2, 2025

  • pcap_open_live is required for linux/unix, there is no pcap_open
  • using pcap_hopen_offline is necessary for WinPcap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants