mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
577fc127f7cc7592c9c6b905da8dc5a1d70868dd
connections in tcpip.cc. socket_strerror works with Winsock error codes whereas plain strerror returns "Unknown error". However, the error string for what is probably the most common error code, WSAEWOULDBLOCK, is the big ugly "A non-blocking socket operation could not be completed immediately.". Add a special case to use "Operation now in progress" for that specific error.
Modified UDP-payload-related code to make it independent of the NmapOps class so it can be reused by other apps like Nping. More info at http://seclists.org/nmap-dev/2009/q3/0051.html
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.2%