Skip to content

Commit d2e4858

Browse files
committed
test
1 parent 0a646c5 commit d2e4858

File tree

3 files changed

+326
-0
lines changed

3 files changed

+326
-0
lines changed

PNet.sln

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25420.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PNet", "PNet\PNet.vcxproj", "{FC80BD60-E9CA-426C-BF77-35E90CBE5136}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|x64 = Debug|x64
11+
Debug|x86 = Debug|x86
12+
Release|x64 = Release|x64
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{FC80BD60-E9CA-426C-BF77-35E90CBE5136}.Debug|x64.ActiveCfg = Debug|x64
17+
{FC80BD60-E9CA-426C-BF77-35E90CBE5136}.Debug|x64.Build.0 = Debug|x64
18+
{FC80BD60-E9CA-426C-BF77-35E90CBE5136}.Debug|x86.ActiveCfg = Debug|Win32
19+
{FC80BD60-E9CA-426C-BF77-35E90CBE5136}.Debug|x86.Build.0 = Debug|Win32
20+
{FC80BD60-E9CA-426C-BF77-35E90CBE5136}.Release|x64.ActiveCfg = Release|x64
21+
{FC80BD60-E9CA-426C-BF77-35E90CBE5136}.Release|x64.Build.0 = Release|x64
22+
{FC80BD60-E9CA-426C-BF77-35E90CBE5136}.Release|x86.ActiveCfg = Release|Win32
23+
{FC80BD60-E9CA-426C-BF77-35E90CBE5136}.Release|x86.Build.0 = Release|Win32
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
EndGlobal

PNet/PNet.vcxproj

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|Win32">
9+
<Configuration>Release</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Debug|x64">
13+
<Configuration>Debug</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<ProjectGuid>{FC80BD60-E9CA-426C-BF77-35E90CBE5136}</ProjectGuid>
23+
<Keyword>Win32Proj</Keyword>
24+
<RootNamespace>PNet</RootNamespace>
25+
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
26+
</PropertyGroup>
27+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
29+
<ConfigurationType>Application</ConfigurationType>
30+
<UseDebugLibraries>true</UseDebugLibraries>
31+
<PlatformToolset>v140</PlatformToolset>
32+
<CharacterSet>Unicode</CharacterSet>
33+
</PropertyGroup>
34+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
35+
<ConfigurationType>Application</ConfigurationType>
36+
<UseDebugLibraries>false</UseDebugLibraries>
37+
<PlatformToolset>v140</PlatformToolset>
38+
<WholeProgramOptimization>true</WholeProgramOptimization>
39+
<CharacterSet>Unicode</CharacterSet>
40+
</PropertyGroup>
41+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
42+
<ConfigurationType>Application</ConfigurationType>
43+
<UseDebugLibraries>true</UseDebugLibraries>
44+
<PlatformToolset>v140</PlatformToolset>
45+
<CharacterSet>Unicode</CharacterSet>
46+
</PropertyGroup>
47+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
48+
<ConfigurationType>Application</ConfigurationType>
49+
<UseDebugLibraries>false</UseDebugLibraries>
50+
<PlatformToolset>v140</PlatformToolset>
51+
<WholeProgramOptimization>true</WholeProgramOptimization>
52+
<CharacterSet>Unicode</CharacterSet>
53+
</PropertyGroup>
54+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
55+
<ImportGroup Label="ExtensionSettings">
56+
</ImportGroup>
57+
<ImportGroup Label="Shared">
58+
</ImportGroup>
59+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
60+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61+
</ImportGroup>
62+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
63+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64+
</ImportGroup>
65+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
66+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
67+
</ImportGroup>
68+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
69+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
70+
</ImportGroup>
71+
<PropertyGroup Label="UserMacros" />
72+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
73+
<LinkIncremental>true</LinkIncremental>
74+
</PropertyGroup>
75+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
76+
<LinkIncremental>true</LinkIncremental>
77+
</PropertyGroup>
78+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
79+
<LinkIncremental>false</LinkIncremental>
80+
</PropertyGroup>
81+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
82+
<LinkIncremental>false</LinkIncremental>
83+
</PropertyGroup>
84+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
85+
<ClCompile>
86+
<PrecompiledHeader>
87+
</PrecompiledHeader>
88+
<WarningLevel>Level3</WarningLevel>
89+
<Optimization>Disabled</Optimization>
90+
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
91+
<SDLCheck>true</SDLCheck>
92+
</ClCompile>
93+
<Link>
94+
<SubSystem>Console</SubSystem>
95+
<GenerateDebugInformation>true</GenerateDebugInformation>
96+
</Link>
97+
</ItemDefinitionGroup>
98+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
99+
<ClCompile>
100+
<PrecompiledHeader>
101+
</PrecompiledHeader>
102+
<WarningLevel>Level3</WarningLevel>
103+
<Optimization>Disabled</Optimization>
104+
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
105+
<SDLCheck>true</SDLCheck>
106+
</ClCompile>
107+
<Link>
108+
<SubSystem>Console</SubSystem>
109+
<GenerateDebugInformation>true</GenerateDebugInformation>
110+
</Link>
111+
</ItemDefinitionGroup>
112+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
113+
<ClCompile>
114+
<WarningLevel>Level3</WarningLevel>
115+
<PrecompiledHeader>
116+
</PrecompiledHeader>
117+
<Optimization>MaxSpeed</Optimization>
118+
<FunctionLevelLinking>true</FunctionLevelLinking>
119+
<IntrinsicFunctions>true</IntrinsicFunctions>
120+
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121+
<SDLCheck>true</SDLCheck>
122+
</ClCompile>
123+
<Link>
124+
<SubSystem>Console</SubSystem>
125+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
126+
<OptimizeReferences>true</OptimizeReferences>
127+
<GenerateDebugInformation>true</GenerateDebugInformation>
128+
</Link>
129+
</ItemDefinitionGroup>
130+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
131+
<ClCompile>
132+
<WarningLevel>Level3</WarningLevel>
133+
<PrecompiledHeader>
134+
</PrecompiledHeader>
135+
<Optimization>MaxSpeed</Optimization>
136+
<FunctionLevelLinking>true</FunctionLevelLinking>
137+
<IntrinsicFunctions>true</IntrinsicFunctions>
138+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
139+
<SDLCheck>true</SDLCheck>
140+
</ClCompile>
141+
<Link>
142+
<SubSystem>Console</SubSystem>
143+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
144+
<OptimizeReferences>true</OptimizeReferences>
145+
<GenerateDebugInformation>true</GenerateDebugInformation>
146+
</Link>
147+
</ItemDefinitionGroup>
148+
<ItemGroup>
149+
<ClCompile Include="PNet\PacketManager.cpp" />
150+
<ClCompile Include="PNet\IPAddress.cpp" />
151+
<ClCompile Include="PNet\Packet.cpp" />
152+
<ClCompile Include="PNet\PRESULT.cpp" />
153+
<ClCompile Include="PNet\Socket.cpp" />
154+
<ClCompile Include="PNet\TCPClient.cpp" />
155+
<ClCompile Include="PNet\TCPConnection.cpp" />
156+
<ClCompile Include="PNet\TCPServer.cpp" />
157+
<ClCompile Include="PNet\TCPSocket.cpp" />
158+
<ClCompile Include="Timer.cpp" />
159+
<ClCompile Include="Source.cpp" />
160+
<ClCompile Include="PNet\TCPListener.cpp" />
161+
</ItemGroup>
162+
<ItemGroup>
163+
<ClInclude Include="PNet\PacketManager.h" />
164+
<ClInclude Include="PNet\ConnectionType.h" />
165+
<ClInclude Include="PNet\Include.h" />
166+
<ClInclude Include="PNet\IPAddress.h" />
167+
<ClInclude Include="PNet\Packet.h" />
168+
<ClInclude Include="PNet\PacketException.h" />
169+
<ClInclude Include="PNet\PacketType.h" />
170+
<ClInclude Include="PNet\PRESULT.h" />
171+
<ClInclude Include="PNet\SocketType.h" />
172+
<ClInclude Include="PNet\Socket.h" />
173+
<ClInclude Include="PNet\SocketHandle.h" />
174+
<ClInclude Include="PNet\TCPSocket.h" />
175+
<ClInclude Include="PNet\TCPListener.h" />
176+
<ClInclude Include="PNet\TCPServer.h" />
177+
<ClInclude Include="PNet\TCPConnection.h" />
178+
<ClInclude Include="PNet\TCPClient.h" />
179+
<ClInclude Include="Timer.h" />
180+
</ItemGroup>
181+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
182+
<ImportGroup Label="ExtensionTargets">
183+
</ImportGroup>
184+
</Project>

PNet/PNet.vcxproj.filters

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup>
4+
<Filter Include="Source Files">
5+
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+
</Filter>
8+
<Filter Include="Header Files">
9+
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
11+
</Filter>
12+
<Filter Include="Resource Files">
13+
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+
</Filter>
16+
<Filter Include="Header Files\PNet">
17+
<UniqueIdentifier>{1ef6388a-e53d-475d-a3a4-1fda536a5bec}</UniqueIdentifier>
18+
</Filter>
19+
<Filter Include="Source Files\PNet">
20+
<UniqueIdentifier>{32e527ba-f9ca-4a70-bd75-79b979248e22}</UniqueIdentifier>
21+
</Filter>
22+
</ItemGroup>
23+
<ItemGroup>
24+
<ClCompile Include="PNet\Socket.cpp">
25+
<Filter>Source Files\PNet</Filter>
26+
</ClCompile>
27+
<ClCompile Include="PNet\Packet.cpp">
28+
<Filter>Source Files\PNet</Filter>
29+
</ClCompile>
30+
<ClCompile Include="PNet\PRESULT.cpp">
31+
<Filter>Source Files\PNet</Filter>
32+
</ClCompile>
33+
<ClCompile Include="PNet\IPAddress.cpp">
34+
<Filter>Source Files\PNet</Filter>
35+
</ClCompile>
36+
<ClCompile Include="PNet\TCPSocket.cpp">
37+
<Filter>Source Files\PNet</Filter>
38+
</ClCompile>
39+
<ClCompile Include="PNet\TCPListener.cpp">
40+
<Filter>Source Files\PNet</Filter>
41+
</ClCompile>
42+
<ClCompile Include="PNet\TCPServer.cpp">
43+
<Filter>Source Files\PNet</Filter>
44+
</ClCompile>
45+
<ClCompile Include="Source.cpp">
46+
<Filter>Source Files</Filter>
47+
</ClCompile>
48+
<ClCompile Include="PNet\PacketManager.cpp">
49+
<Filter>Source Files\PNet</Filter>
50+
</ClCompile>
51+
<ClCompile Include="PNet\TCPConnection.cpp">
52+
<Filter>Source Files\PNet</Filter>
53+
</ClCompile>
54+
<ClCompile Include="PNet\TCPClient.cpp">
55+
<Filter>Source Files\PNet</Filter>
56+
</ClCompile>
57+
<ClCompile Include="Timer.cpp">
58+
<Filter>Source Files</Filter>
59+
</ClCompile>
60+
</ItemGroup>
61+
<ItemGroup>
62+
<ClInclude Include="PNet\Socket.h">
63+
<Filter>Header Files\PNet</Filter>
64+
</ClInclude>
65+
<ClInclude Include="PNet\SocketHandle.h">
66+
<Filter>Header Files\PNet</Filter>
67+
</ClInclude>
68+
<ClInclude Include="PNet\TCPSocket.h">
69+
<Filter>Header Files\PNet</Filter>
70+
</ClInclude>
71+
<ClInclude Include="PNet\SocketType.h">
72+
<Filter>Header Files\PNet</Filter>
73+
</ClInclude>
74+
<ClInclude Include="PNet\ConnectionType.h">
75+
<Filter>Header Files\PNet</Filter>
76+
</ClInclude>
77+
<ClInclude Include="PNet\Include.h">
78+
<Filter>Header Files\PNet</Filter>
79+
</ClInclude>
80+
<ClInclude Include="PNet\Packet.h">
81+
<Filter>Header Files\PNet</Filter>
82+
</ClInclude>
83+
<ClInclude Include="PNet\PacketException.h">
84+
<Filter>Header Files\PNet</Filter>
85+
</ClInclude>
86+
<ClInclude Include="PNet\PacketType.h">
87+
<Filter>Header Files\PNet</Filter>
88+
</ClInclude>
89+
<ClInclude Include="PNet\PRESULT.h">
90+
<Filter>Header Files\PNet</Filter>
91+
</ClInclude>
92+
<ClInclude Include="PNet\IPAddress.h">
93+
<Filter>Header Files\PNet</Filter>
94+
</ClInclude>
95+
<ClInclude Include="PNet\TCPListener.h">
96+
<Filter>Header Files\PNet</Filter>
97+
</ClInclude>
98+
<ClInclude Include="PNet\TCPServer.h">
99+
<Filter>Header Files\PNet</Filter>
100+
</ClInclude>
101+
<ClInclude Include="PNet\TCPConnection.h">
102+
<Filter>Header Files\PNet</Filter>
103+
</ClInclude>
104+
<ClInclude Include="PNet\PacketManager.h">
105+
<Filter>Header Files\PNet</Filter>
106+
</ClInclude>
107+
<ClInclude Include="PNet\TCPClient.h">
108+
<Filter>Header Files\PNet</Filter>
109+
</ClInclude>
110+
<ClInclude Include="Timer.h">
111+
<Filter>Header Files</Filter>
112+
</ClInclude>
113+
</ItemGroup>
114+
</Project>

0 commit comments

Comments
 (0)