From 5ae6b75bf4aafc997420a7fab3a621030a642dfc Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 20 Sep 2022 23:37:25 +0000 Subject: [PATCH] Note correct order of nsock function calls for proxychains. Fixes #176 --- nsock/include/nsock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nsock/include/nsock.h b/nsock/include/nsock.h index e13516d18..37b37d876 100644 --- a/nsock/include/nsock.h +++ b/nsock/include/nsock.h @@ -304,7 +304,8 @@ void nsock_proxychain_delete(nsock_proxychain chain); /* Assign a previously created proxychain object to a nsock pool. After this, * new connections requests will be issued through the chain of proxies (if - * possible). */ + * possible). This only applies to nsock_iod created *after* the call to + * nsock_pool_set_proxychain(). Existing nsock_iod will connect as normal. */ int nsock_pool_set_proxychain(nsock_pool nspool, nsock_proxychain chain); /* nsock_event handles a single event. Its ID is generally returned when the