1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-19 12:49:02 +00:00
This commit is contained in:
henri
2012-10-06 21:19:22 +00:00
parent 1155196df5
commit ff60e9f9e0

View File

@@ -154,7 +154,7 @@ local function is_ssl(port_number)
end
--- This function returns best protocol order for trying to open a
-- conenction based on port and service information
-- connection based on port and service information
--
-- The first value is the best option, the second is the worst
-- @param port The port table
@@ -177,8 +177,8 @@ end
--
-- Possible options:
-- timeout: generic timeout value
-- connect_timeout: especific timeout for connection
-- request_timeout: especific timeout for requests
-- connect_timeout: specific timeout for connection
-- request_timeout: specific timeout for requests
-- recv_before: receive data before sending first payload
--
-- Default timeout is set to 8000.
@@ -187,7 +187,7 @@ end
-- @param port The destination host port
-- @param protocol The protocol for the connection
-- @param data The first data payload of the connection
-- @return sd The socket descriptor, nil if no connection is estabilished
-- @return sd The socket descriptor, nil if no connection is established
-- @return response The response received for the payload
-- @return early_resp If opt recv_before is true, returns the value
-- of the first receive (before sending data)