diff --git a/nselib/nmap.luadoc b/nselib/nmap.luadoc
index 8de73e4c4..487bdd95c 100644
--- a/nselib/nmap.luadoc
+++ b/nselib/nmap.luadoc
@@ -479,7 +479,6 @@ function send(data)
-- success the function returns a true value. If the send operation fails, the
-- function returns a false value (false or nil) along
-- with an error string. The error strings are
--- * "Trying to send through a closed socket": There was no call to socket:connect before the send operation.
-- * "TIMEOUT": The operation took longer than the specified timeout for the socket.
-- * "ERROR": An error occurred inside the underlying Nsock library.
-- * "CANCELLED": The operation was cancelled.
@@ -490,7 +489,7 @@ function send(data)
-- @param data The data to send.
-- @return Status (true or false).
-- @return Error code (if status is false).
--- @usage local status, err = socket:send(data)
+-- @usage local status, err = socket:sendto(host, port, data)
function sendto(host, port, data)
--- Receives data from an open socket.