mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Fix NSEdoc: new_socket option based on current address family
This commit is contained in:
parent
be9c6d96ee
commit
d59de990f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue