2 Jun 2005 20:42
pcap_dump_file & CO
Loris Degioanni <loris.degioanni <at> gmail.com>
2005-06-02 18:42:28 GMT
2005-06-02 18:42:28 GMT
Trying to understand why the -C tcpdump option doesn't work under Windows, I realized that a file pointer created in a dll can only be used inside that dll. This is a documented Windows limitation. This means that: - pcap_dump_file and the other functions to make file pointers explicit don't have any meaning in Windows, because any stdio function will fail with those pointers, so we should probably return a failure value. - If we want to have tcpdump -C working in Windows, we'll need to add a pcap_ftell() or similar function. Is it ok if I make these changes and check them in the CVS? Loris
RSS Feed