diff --git a/iguana.vcxproj b/iguana.vcxproj
index f5333b0a0..53f641904 100644
--- a/iguana.vcxproj
+++ b/iguana.vcxproj
@@ -92,11 +92,13 @@
Disabled
_CRT_SECURE_NO_WARNINGS;NATIVE_WINDOWS;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
1Byte
+ .\iguana;%(AdditionalIncludeDirectories)
Console
true
- Ws2_32.lib;%(AdditionalDependencies)
+ Ws2_32.lib;pthreadVC2.lib;%(AdditionalDependencies)
+ .\iguana;%(AdditionalLibraryDirectories)
@@ -105,12 +107,14 @@
Level3
Disabled
- _DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ _DEBUG;_CONSOLE;NATIVE_WINDOWS;WIN32;%(PreprocessorDefinitions)
1Byte
Console
true
+ C:\Users\faded_000\Desktop\New folder\SuperNET\OSlibs\win\x64;%(AdditionalLibraryDirectories)
+ pthread_lib.lib;Ws2_32.lib;%(AdditionalDependencies)
@@ -260,6 +264,7 @@
+
diff --git a/iguana.vcxproj.filters b/iguana.vcxproj.filters
index 0f03de4bd..3aa3d0fc6 100644
--- a/iguana.vcxproj.filters
+++ b/iguana.vcxproj.filters
@@ -102,6 +102,7 @@
+
diff --git a/iguana/iguana777.h b/iguana/iguana777.h
index 313046c03..fcefb7fb2 100755
--- a/iguana/iguana777.h
+++ b/iguana/iguana777.h
@@ -105,7 +105,8 @@ struct supernet_info
struct dpow_info DPOWS[64]; int32_t numdpows,dpowsock,dexsock,pubsock,repsock,subsock,reqsock;
struct delayedPoW_info dPoW;
struct basilisk_spend *spends; int32_t numspends;
- //struct peggy_info *PEGS;
+ // fadedreamz
+ struct peggy_info *PEGS;
void *PAXDATA;
struct liquidity_info linfos[64];
struct komodo_notaries NOTARY;
diff --git a/iguana/iguana_peers.c b/iguana/iguana_peers.c
index e5f1e9f15..f90ec2bf4 100755
--- a/iguana/iguana_peers.c
+++ b/iguana/iguana_peers.c
@@ -351,12 +351,15 @@ void iguana_iAkill(struct iguana_info *coin,struct iguana_peer *addr,int32_t mar
// iguana_possible_peer(coin,ipaddr);
}
+
int32_t iguana_socket(int32_t bindflag,char *hostname,uint16_t port)
{
int32_t opt,sock,result; char ipaddr[64],checkipaddr[64]; struct timeval timeout;
struct sockaddr_in saddr; socklen_t addrlen,slen;
addrlen = sizeof(saddr);
struct hostent *hostent;
+ // fadedreamz - change
+
if ( parse_ipaddr(ipaddr,hostname) != 0 )
port = parse_ipaddr(ipaddr,hostname);
hostent = gethostbyname(ipaddr);