mirror of
https://github.com/nmap/nmap.git
synced 2026-01-27 00:29:03 +00:00
ae4cae1c6e6bbc24a2cd9ac7365668dac0bfa58f
Previously, the return value and socket errors from the connect() call were checked in two different places: immediately after the call, and then later as the sockets were select()ed over. This led to a divergence of logic, so the immediate checking failed to set state reasons or contribute to timing. This commit puts all such checking into a single function, handleConnectResult, so further improvements will not diverge again.
Here is some documentation for Nmap, but these files are much less comprehensive than what you'll find at the actual Nmap documentation site ( http://nmap.org ).
Description
Languages
C
37.8%
Lua
28.1%
C++
16.7%
Shell
5.8%
Python
4.2%
Other
7.1%