mirror of
https://github.com/nmap/nmap.git
synced 2026-01-23 22:59:20 +00:00
Fix NSEdoc: new_socket option based on current address family
This commit is contained in:
@@ -421,7 +421,7 @@ function new_try(handler)
|
||||
-- <code>connect</code>-style sending and receiving over TCP and UDP (and SSL),
|
||||
-- as well as raw socket receiving.
|
||||
-- @param protocol a protocol string (optional, defaults to <code>"tcp"</code>).
|
||||
-- @param af an address family string (optional, defaults to <code>"inet"</code>).
|
||||
-- @param af an address family string (optional, defaults to <code>nmap.address_family()</code).
|
||||
-- @return A new NSE socket.
|
||||
-- @see pcap_open
|
||||
-- @usage local socket = nmap.new_socket()
|
||||
|
||||
Reference in New Issue
Block a user