[Winpcap-users] pcap_fopen_offline not exported?
Fish
fish at infidels.org
Sat Jul 26 02:46:46 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gianluca Varenni wrote:
[...]
> this could work as long as you can get a FILE* handle out
> of a win32 HANDLE.
int fd = _open_osfhandle(h);
FILE *file = _fdopen(fd, "rb");
> I've never tried myself,
I have. Works great.
> it looks a bit scary to me...
Why?
- --
"Fish" (David B. Trout) - fish(at)infidels.org
Fight Spam! Join CAUCE! <http://www.cauce.org/>
(Any HTML email received will be deleted unread)
PGP key fingerprints:
RSA: 6B37 7110 7201 9917 9B0D 99E3 55DB 5D58 FADE 4A52
DH/DSS: 9F9B BAB0 BA7F C458 1A89 FE26 48F5 D7F4 C4EE 3E2A
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1
iQA/AwUBSIqQFUj11/TE7j4qEQJnogCeNStOKGGjmE9rmys3xT2R1dyBZCAAoIc0
3+hx7pLMdXvXexJFhEWeoiGv
=vE49
-----END PGP SIGNATURE-----
More information about the Winpcap-users
mailing list