Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
619c5a9e2e
  1. 5
      iguana/SuperNET.c

5
iguana/SuperNET.c

@ -360,6 +360,8 @@ int32_t _req_socket(struct supernet_info *myinfo,uint16_t LBport,uint16_t PUBpor
int32_t badass_servers(char servers[][MAX_SERVERNAME],int32_t max)
{
int32_t n = 0;
if ( 0 )
{
strcpy(servers[n++],"89.248.160.237");
strcpy(servers[n++],"89.248.160.238");
strcpy(servers[n++],"89.248.160.239");
@ -369,6 +371,7 @@ int32_t badass_servers(char servers[][MAX_SERVERNAME],int32_t max)
strcpy(servers[n++],"89.248.160.243");
strcpy(servers[n++],"89.248.160.244");
strcpy(servers[n++],"89.248.160.245");
}
return(n);
}
@ -462,7 +465,7 @@ void SuperNET_init(struct supernet_info *myinfo,uint16_t PUBport,uint16_t LBport
else free(ipaddr), ipaddr = 0;
}
sendtimeout = 100;
recvtimeout = 1000;
recvtimeout = 0;
myinfo->PUBpoint[0] = myinfo->LBpoint[0] = 0;
myinfo->PUBport = myinfo->LBport = 0;
myinfo->PUBsock = myinfo->LBsock = -1;

Loading…
Cancel
Save