Nmap Development mailing list archives

Re: nmap socket bind to the udp port


From: SAI LAKSHMI Bhavana <oslbhavana () gmail com>
Date: Fri, 9 Mar 2012 17:59:10 +0530

In connect() call the port number we use is the port on the remote
host we want to connect to its not local port.

socket:bind()
can be used to bind the socket to the port of your choice.

some of the methods of socket object can be found in the nmap.luadoc
of nselib in the compiled code.
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: