#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";
//#include "stdafx.h"
-//#include "winsock2.h"
+#include "winsock2.h"
#include <windows.h>
#include <stdio.h>
#include "wsocket.h"
sockLock.on();
if (sockNum)
{
-// shutdown(sockNum,SD_SEND);
+ shutdown(sockNum,SD_SEND); // fix from rev5
setReadTimeout(2000);
unsigned int stime = sys->getTime();
StripPrivateSymbols="PeerCast-dist.pdb"
GenerateMapFile="true"
SubSystem="2"
- LinkTimeCodeGeneration="2"
+ LinkTimeCodeGeneration="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
#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";
//#include "stdafx.h"
-//#include "winsock2.h"
+#include "winsock2.h"
#include <windows.h>
#include <stdio.h>
#include "wsocket.h"
sockLock.on();
if (sockNum)
{
-// shutdown(sockNum,SD_SEND);
+ shutdown(sockNum,SD_SEND); // fix from rev5
setReadTimeout(2000);
unsigned int stime = sys->getTime();
StripPrivateSymbols="PeerCast-dist.pdb"
GenerateMapFile="true"
SubSystem="2"
- LinkTimeCodeGeneration="2"
+ LinkTimeCodeGeneration="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"