1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Use a socket, not pipe, for STDIN emulation in fselect

Using a TCP connected socket allows us to use a single select call instead of
interrupting it every 125ms to poll the stdin-pipe.
This commit is contained in:
dmiller
2024-10-30 18:55:39 +00:00
parent fef9f592b0
commit f1559fbc22
3 changed files with 203 additions and 191 deletions

View File

@@ -192,6 +192,5 @@ Nbase that legitimately use ENOENT for file operations.
typedef unsigned short u_short_t;
int win_stdin_start_thread(void);
int win_stdin_ready(void);
#endif /* NBASE_WINUNIX_H */