X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fnet.h;h=8569d237338d25c1ff336af28f443dbbf9307ef4;hb=b68dec11eea9e0b525bd26485c96425e7b1b6025;hp=4045b5e4e57789080da27e33c6a6fd6176b066f2;hpb=3b3a4cb430cf5a7e3665faeaec0ae882b0650336;p=novacoin.git diff --git a/src/net.h b/src/net.h index 4045b5e..8569d23 100644 --- a/src/net.h +++ b/src/net.h @@ -19,7 +19,6 @@ #include "mruset.h" #include "netbase.h" -#include "protocol.h" #include "addrman.h" #include "hash.h" @@ -113,6 +112,7 @@ enum threadId THREAD_MINTER, THREAD_SCRIPTCHECK, THREAD_NTP, + THREAD_IPCOLLECTOR, THREAD_MAX }; @@ -266,8 +266,7 @@ public: { if (hSocket != INVALID_SOCKET) { - closesocket(hSocket); - hSocket = INVALID_SOCKET; + CloseSocket(hSocket); } }