Quantcast
Viewing all articles
Browse latest Browse all 22066

How can I remove the need of wpcap.dll in my go program?

I use gopacket in my program. on linux, it runs perfectly. But on windows the whole program crashes if i did not install WinPcap before.

My plan was to check if WinPcap is installed, and if not to inform the user that he needs this to use 100% of all features.

But i dont come to this point. i cant use gopacket if WinPcap is not available. I mean... not a single line of code of it (=> crash)

Has anyone an idea how i can solve this? im do not need gopacket actually. My plan was, if it is installed, fine, super! If not, dont care... do other things.

But now i have 2 choices... remove gopacket totally or find a way to start my program without the need of wpcap.dll. at least to tell the user that he needs it.

Please help me :(

Image may be NSFW.
Clik here to view.
enter image description here


Viewing all articles
Browse latest Browse all 22066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>