1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-01 20:39:02 +00:00

Apply the nonblocking pcap read trick in readip_pcap too.

This commit is contained in:
david
2012-03-22 00:47:24 +00:00
parent cdcc9da0d8
commit b4cb468b1d
2 changed files with 22 additions and 3 deletions

View File

@@ -233,6 +233,7 @@ void set_ttl(int sd, int ttl);
/* Returns whether the system supports pcap_get_selectable_fd() properly */
int pcap_selectable_fd_valid();
int pcap_selectable_fd_one_to_one();
/* Call this instead of pcap_get_selectable_fd directly (or your code
won't compile on Windows). On systems which don't seem to support