mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Added IOCP integration for Nsock
This commit is contained in:
parent
3ba4a87c75
commit
1aa7958e23
11 changed files with 949 additions and 3 deletions
|
|
@ -257,7 +257,7 @@ int inheritable_socket(int af, int style, int protocol) {
|
|||
/* WSASocket is just like socket, except that the sockets it creates are
|
||||
inheritable by subprocesses (such as are created by CreateProcess), while
|
||||
those created by socket are not. */
|
||||
return WSASocket(af, style, protocol, NULL, 0, 0);
|
||||
return WSASocket(af, style, protocol, NULL, 0, WSA_FLAG_OVERLAPPED);
|
||||
#else
|
||||
return socket(af, style, protocol);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue