mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Recognize WSAEADDRINUSE in handle_connect_result.
This happens on Windows when two sockets bind to the same local port and connect to the same remote port on a remote host. I tried this on Linux; Linux prevents the second bind from succeeding. http://seclists.org/nmap-dev/2012/q2/513
This commit is contained in:
parent
66c296e27f
commit
5ab8e37be6
1 changed files with 1 additions and 0 deletions
|
|
@ -349,6 +349,7 @@ void handle_connect_result(mspool *ms, msevent *nse, enum nse_status status) {
|
|||
case EHOSTDOWN:
|
||||
case ECONNRESET:
|
||||
#ifdef WIN32
|
||||
case WSAEADDRINUSE:
|
||||
case WSAEADDRNOTAVAIL:
|
||||
#endif
|
||||
#ifndef WIN32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue