From c5970986f5359b7252f44e71735b93b9a7a4545a Mon Sep 17 00:00:00 2001 From: Logan oos Even <46396513+Logan007@users.noreply.github.com> Date: Mon, 13 Sep 2021 13:39:15 +0545 Subject: [PATCH] replaced 'close()' with 'closesocket()' --- src/n2n.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/n2n.c b/src/n2n.c index 3fc78d2..54055cf 100644 --- a/src/n2n.c +++ b/src/n2n.c @@ -98,7 +98,7 @@ int detect_local_ip_address (n2n_sock_t* out_sock, const n2n_edge_t* eee) { return -4; } else return -3; - close(probe_sock); + closesocket(probe_sock); } else return -2;