wpcap.dll (the highest level library of WinPcap) is completely compatible
with libpcap, the packet library that works on most Unix flavors. Therefore
a program based on wpcap.dll, or at least its capture part, should be easily
protable to Unix and vice versa.
For example, programs like tcpdump, snort and ethereal were ported to win32
using this method.
You can look at the libpcap manual as a starting point.

Loris

----- Original Message -----
From: "Rehan Inam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 10:46 PM
Subject: [WinPcap-users] OS dependency


Hi,
I am building a platform independent NAT (Network Address Translator)
therefore i was interested in using wpcap as i thought it is OS independent
but by reading FAQ's i got somewhat confused about its OS independency as it
is written there that it will run only on Win32 . Can u please tell me how
can i write code that will compile on UNIX as well as on Windows without or
with minimum alterations.
Thank you.



Reply via email to