1
0
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:
dmiller
2024-05-21 18:49:37 +00:00
parent be9c6d96ee
commit d59de990f2

View File

@@ -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()