Revision | fdeb54807c210bd5b53b486d1675aba4567e5f2b (tree) |
---|---|
Zeit | 2011-01-29 23:45:42 |
Autor | eru <eru01@user...> |
Commiter | eru |
WebGUIのレスポンスが悪かったのを修正
@@ -44,9 +44,9 @@ extern int version_ex; // VERSION_EX | ||
44 | 44 | #if 1 /* for VP extend version */ |
45 | 45 | //#define VERSION_EX 1 |
46 | 46 | static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only |
47 | -static const int PCP_CLIENT_VERSION_EX_NUMBER = 42; | |
48 | -static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0042)"; | |
49 | -static const char *PCX_VERSTRING_EX = "v0.1218(IM0042)"; | |
47 | +static const int PCP_CLIENT_VERSION_EX_NUMBER = 43; | |
48 | +static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0043)"; | |
49 | +static const char *PCX_VERSTRING_EX = "v0.1218(IM0043)"; | |
50 | 50 | |
51 | 51 | static const char *PCP_CLIENT_DIST_URL = "http://pecaim.net/"; |
52 | 52 | static const char *PCP_CLIENT_VERSION_URL = "version.pecaim.net"; |
@@ -23,7 +23,7 @@ | ||
23 | 23 | |
24 | 24 | |
25 | 25 | //#include "stdafx.h" |
26 | -//#include "winsock2.h" | |
26 | +#include "winsock2.h" | |
27 | 27 | #include <windows.h> |
28 | 28 | #include <stdio.h> |
29 | 29 | #include "wsocket.h" |
@@ -640,7 +640,7 @@ void WSAClientSocket::close() | ||
640 | 640 | sockLock.on(); |
641 | 641 | if (sockNum) |
642 | 642 | { |
643 | -// shutdown(sockNum,SD_SEND); | |
643 | + shutdown(sockNum,SD_SEND); // fix from rev5 | |
644 | 644 | |
645 | 645 | setReadTimeout(2000); |
646 | 646 | unsigned int stime = sys->getTime(); |
@@ -400,7 +400,7 @@ | ||
400 | 400 | StripPrivateSymbols="PeerCast-dist.pdb" |
401 | 401 | GenerateMapFile="true" |
402 | 402 | SubSystem="2" |
403 | - LinkTimeCodeGeneration="2" | |
403 | + LinkTimeCodeGeneration="1" | |
404 | 404 | RandomizedBaseAddress="1" |
405 | 405 | DataExecutionPrevention="0" |
406 | 406 | TargetMachine="1" |
@@ -44,9 +44,9 @@ extern int version_ex; // VERSION_EX | ||
44 | 44 | #if 1 /* for VP extend version */ |
45 | 45 | //#define VERSION_EX 1 |
46 | 46 | static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only |
47 | -static const int PCP_CLIENT_VERSION_EX_NUMBER = 42; | |
48 | -static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0042)"; | |
49 | -static const char *PCX_VERSTRING_EX = "v0.1218(IM0042)"; | |
47 | +static const int PCP_CLIENT_VERSION_EX_NUMBER = 43; | |
48 | +static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0043)"; | |
49 | +static const char *PCX_VERSTRING_EX = "v0.1218(IM0043)"; | |
50 | 50 | |
51 | 51 | static const char *PCP_CLIENT_DIST_URL = "http://pecaim.net/"; |
52 | 52 | static const char *PCP_CLIENT_VERSION_URL = "version.pecaim.net"; |
@@ -23,7 +23,7 @@ | ||
23 | 23 | |
24 | 24 | |
25 | 25 | //#include "stdafx.h" |
26 | -//#include "winsock2.h" | |
26 | +#include "winsock2.h" | |
27 | 27 | #include <windows.h> |
28 | 28 | #include <stdio.h> |
29 | 29 | #include "wsocket.h" |
@@ -640,7 +640,7 @@ void WSAClientSocket::close() | ||
640 | 640 | sockLock.on(); |
641 | 641 | if (sockNum) |
642 | 642 | { |
643 | -// shutdown(sockNum,SD_SEND); | |
643 | + shutdown(sockNum,SD_SEND); // fix from rev5 | |
644 | 644 | |
645 | 645 | setReadTimeout(2000); |
646 | 646 | unsigned int stime = sys->getTime(); |
@@ -400,7 +400,7 @@ | ||
400 | 400 | StripPrivateSymbols="PeerCast-dist.pdb" |
401 | 401 | GenerateMapFile="true" |
402 | 402 | SubSystem="2" |
403 | - LinkTimeCodeGeneration="2" | |
403 | + LinkTimeCodeGeneration="1" | |
404 | 404 | RandomizedBaseAddress="1" |
405 | 405 | DataExecutionPrevention="0" |
406 | 406 | TargetMachine="1" |