OSDN Git Service

WebGUIのレスポンスが悪かったのを修正 IM0043
authoreru <eru01@users.sourceforge.jp>
Sat, 29 Jan 2011 14:45:42 +0000 (14:45 +0000)
committereru <eru01@users.sourceforge.jp>
Sat, 29 Jan 2011 14:45:42 +0000 (14:45 +0000)
PeerCast.root/PeerCast/core/common/version2.h
PeerCast.root/PeerCast/core/win32/wsocket.cpp
PeerCast.root/PeerCast/ui/win32/simple/Simple.vcproj
c:/Git/PeerCast.root/PeerCast/core/common/version2.h
c:/Git/PeerCast.root/PeerCast/core/win32/wsocket.cpp
c:/Git/PeerCast.root/PeerCast/ui/win32/simple/Simple.vcproj

index dbb2302..e5a1cfd 100644 (file)
@@ -44,9 +44,9 @@ extern int version_ex; // VERSION_EX
 #if 1 /* for VP extend version */
 //#define VERSION_EX 1
 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
-static const int  PCP_CLIENT_VERSION_EX_NUMBER = 42;
-static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0042)";
-static const char *PCX_VERSTRING_EX = "v0.1218(IM0042)";
+static const int  PCP_CLIENT_VERSION_EX_NUMBER = 43;
+static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0043)";
+static const char *PCX_VERSTRING_EX = "v0.1218(IM0043)";
 
 static const char *PCP_CLIENT_DIST_URL = "http://pecaim.net/";
 static const char *PCP_CLIENT_VERSION_URL = "version.pecaim.net";
index 4c4d105..509ba07 100644 (file)
@@ -23,7 +23,7 @@
 
 
 //#include "stdafx.h"
-//#include "winsock2.h"
+#include "winsock2.h"
 #include <windows.h>
 #include <stdio.h>
 #include "wsocket.h"
@@ -640,7 +640,7 @@ void WSAClientSocket::close()
        sockLock.on();
        if (sockNum)
        {
-//             shutdown(sockNum,SD_SEND);
+               shutdown(sockNum,SD_SEND); // fix from rev5
 
                setReadTimeout(2000);
                unsigned int stime = sys->getTime();
index 8cbbb27..b43eb9d 100644 (file)
                                StripPrivateSymbols="PeerCast-dist.pdb"
                                GenerateMapFile="true"
                                SubSystem="2"
-                               LinkTimeCodeGeneration="2"
+                               LinkTimeCodeGeneration="1"
                                RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="1"
index dbb2302..e5a1cfd 100644 (file)
@@ -44,9 +44,9 @@ extern int version_ex; // VERSION_EX
 #if 1 /* for VP extend version */
 //#define VERSION_EX 1
 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
-static const int  PCP_CLIENT_VERSION_EX_NUMBER = 42;
-static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0042)";
-static const char *PCX_VERSTRING_EX = "v0.1218(IM0042)";
+static const int  PCP_CLIENT_VERSION_EX_NUMBER = 43;
+static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0043)";
+static const char *PCX_VERSTRING_EX = "v0.1218(IM0043)";
 
 static const char *PCP_CLIENT_DIST_URL = "http://pecaim.net/";
 static const char *PCP_CLIENT_VERSION_URL = "version.pecaim.net";
index 4c4d105..509ba07 100644 (file)
@@ -23,7 +23,7 @@
 
 
 //#include "stdafx.h"
-//#include "winsock2.h"
+#include "winsock2.h"
 #include <windows.h>
 #include <stdio.h>
 #include "wsocket.h"
@@ -640,7 +640,7 @@ void WSAClientSocket::close()
        sockLock.on();
        if (sockNum)
        {
-//             shutdown(sockNum,SD_SEND);
+               shutdown(sockNum,SD_SEND); // fix from rev5
 
                setReadTimeout(2000);
                unsigned int stime = sys->getTime();
index 8cbbb27..b43eb9d 100644 (file)
                                StripPrivateSymbols="PeerCast-dist.pdb"
                                GenerateMapFile="true"
                                SubSystem="2"
-                               LinkTimeCodeGeneration="2"
+                               LinkTimeCodeGeneration="1"
                                RandomizedBaseAddress="1"
                                DataExecutionPrevention="0"
                                TargetMachine="1"