From 2f627728a5c1f2dcc246968d2e37c13fb25c0ac2 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 27 Oct 2008 21:26:35 +0000 Subject: [PATCH] Fix a typo in scripting.xml: newsocket -> new_socket. --- docs/scripting.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripting.xml b/docs/scripting.xml index b7cd27eae..66c319eec 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -1204,7 +1204,7 @@ socket:close() kept, the more scripts may receive the packet and proceed with their execution. To use the packet capturing inside your script you have to create a socket with - nmap.newsocket() and later close the socket + nmap.new_socket() and later close the socket with socket_object:close()—just like with the connection-based network I/O.