[Winpcap-users] pcap_fopen_offline not exported?

Fish fish at infidels.org
Mon Jul 28 16:16:41 GMT 2008

Hash: SHA1

Okraszewski, Marcin wrote:

> So I have it working now. I have slightly modified WinPcap
> to make the API expose the pcap_fopen_offline():
> In pcap.h I have added:

<snip details>

> And finally I have added the pcap_hopen_offline to exports in
> wpcap.def.  

Thank you Marcin. You saved me the bother of replying to Bryan with
basically the same thing. Your proposed change is indeed what I was
thinking of. I guess I didn't explain that too well to Bryan.

And yes Bryan, what you wrote is absolutely correct: you can't safely
pass CRT fd's, but then too that's not really what I was proposing to
do. What I was proposing to do is pretty much exactly what Marcin
coded. I just botched things badly trying to explain it.

> Thank you all for input in this matter.

You're very welcome.

I'm just sorry I didn't explain myself too well but I guess that's
okay since Bryan was kind enough to clear things up for me. (Thanks

> Is there any chance this kind of solution to be included in
> WinPcap?  

Good question.

- -- 
"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

Version: PGP 8.1


More information about the Winpcap-users mailing list