mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 11:49:01 +00:00
This connect should be side effect–free except for calling socket_lock, which prevents the creation of an excessive number of sockets. Not using the lock was causing "Too many open files" errors. We should have a cleaner general solution for this, and not require scripts to "connect" their unconnected UDP sockets. I seem to remember that there was a good reason for not enforcing the lock on socket creation, but only on connect, as we do. http://seclists.org/nmap-dev/2012/q4/435
111 KiB
111 KiB