diff --git a/luasocket.sln b/luasocket.sln
index 76b175b..0e5cdc7 100644
--- a/luasocket.sln
+++ b/luasocket.sln
@@ -1,23 +1,33 @@
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "socket", "socket.vcproj", "{66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}"
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "socket", "socket.vcxproj", "{66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mime", "mime.vcproj", "{128E8BD0-174A-48F0-8771-92B1E8D18713}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mime", "mime.vcxproj", "{128E8BD0-174A-48F0-8771-92B1E8D18713}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Debug|Win32.ActiveCfg = Debug|Win32
{66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Debug|Win32.Build.0 = Debug|Win32
+ {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Debug|x64.ActiveCfg = Debug|x64
+ {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Debug|x64.Build.0 = Debug|x64
{66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Release|Win32.ActiveCfg = Release|Win32
{66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Release|Win32.Build.0 = Release|Win32
+ {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Release|x64.ActiveCfg = Release|x64
+ {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}.Release|x64.Build.0 = Release|x64
{128E8BD0-174A-48F0-8771-92B1E8D18713}.Debug|Win32.ActiveCfg = Debug|Win32
{128E8BD0-174A-48F0-8771-92B1E8D18713}.Debug|Win32.Build.0 = Debug|Win32
+ {128E8BD0-174A-48F0-8771-92B1E8D18713}.Debug|x64.ActiveCfg = Debug|x64
+ {128E8BD0-174A-48F0-8771-92B1E8D18713}.Debug|x64.Build.0 = Debug|x64
{128E8BD0-174A-48F0-8771-92B1E8D18713}.Release|Win32.ActiveCfg = Release|Win32
{128E8BD0-174A-48F0-8771-92B1E8D18713}.Release|Win32.Build.0 = Release|Win32
+ {128E8BD0-174A-48F0-8771-92B1E8D18713}.Release|x64.ActiveCfg = Release|x64
+ {128E8BD0-174A-48F0-8771-92B1E8D18713}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/mime.vcproj b/mime.vcproj
deleted file mode 100644
index 313cdb1..0000000
--- a/mime.vcproj
+++ /dev/null
@@ -1,207 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mime.vcxproj b/mime.vcxproj
new file mode 100755
index 0000000..95781f2
--- /dev/null
+++ b/mime.vcxproj
@@ -0,0 +1,195 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+
+ {128E8BD0-174A-48F0-8771-92B1E8D18713}
+ Win32Proj
+
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.50727.1
+
+
+ $(SolutionDir)\$(Configuration)\mime\
+ $(Configuration)\
+ true
+ core
+
+
+ true
+ core
+ $(SolutionDir)$(Platform)\$(Configuration)\mime\
+
+
+ $(SolutionDir)\$(Configuration)\mime\
+ $(Configuration)\
+ false
+ core
+
+
+ false
+ $(SolutionDir)$(Platform)\$(Configuration)\mime\
+ core
+
+
+
+ Disabled
+ ..\include;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;_USRDLL;MIME_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;LUA_COMPAT_MODULE;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+ Level3
+ EditAndContinue
+
+
+ lualib.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName).dll
+ ..\bin\$(Configuration);%(AdditionalLibraryDirectories)
+ true
+ $(OutDir)mime.pdb
+ Windows
+ false
+
+ $(OutDir)$(TargetName).lib
+ MachineX86
+
+
+
+
+ Disabled
+ ..\include;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;_USRDLL;MIME_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;LUA_COMPAT_MODULE;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ lualib.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName).dll
+ ..\bin\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)
+ true
+ $(OutDir)mime.pdb
+ Windows
+ false
+
+
+ $(OutDir)$(TargetName).lib
+
+
+
+
+ ..\include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;_USRDLL;MIME_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;LUA_COMPAT_MODULE;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+
+ Level4
+
+
+
+ lualib.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName).dll
+ ..\bin\$(Configuration);%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ false
+
+ $(OutDir)$(TargetName).lib
+ MachineX86
+
+
+
+
+ ..\include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;_USRDLL;MIME_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;LUA_COMPAT_MODULE;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+
+
+ Level4
+
+
+
+
+ lualib.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName).dll
+ ..\bin\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ false
+
+
+ $(OutDir)$(TargetName).lib
+
+
+
+
+
+
\ No newline at end of file
diff --git a/socket.vcproj b/socket.vcproj
deleted file mode 100644
index 195eb09..0000000
--- a/socket.vcproj
+++ /dev/null
@@ -1,259 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/socket.vcxproj b/socket.vcxproj
new file mode 100755
index 0000000..0256c90
--- /dev/null
+++ b/socket.vcxproj
@@ -0,0 +1,206 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {66E3CE14-884D-4AEA-9F20-15A0BEAF8C5A}
+ Win32Proj
+
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.50727.1
+
+
+ $(SolutionDir)\$(Configuration)\socket\
+ $(Configuration)\
+ true
+ core
+
+
+ true
+ core
+ $(SolutionDir)$(Platform)\$(Configuration)\socket\
+
+
+ $(SolutionDir)\$(Configuration)\socket\
+ $(Configuration)\
+ false
+ core
+
+
+ false
+ $(SolutionDir)$(Platform)\$(Configuration)\socket\
+ core
+
+
+
+ Disabled
+ ..\include;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;_USRDLL;LUASOCKET_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;LUA_COMPAT_MODULE;LUASOCKET_DEBUG;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+ Level3
+ EditAndContinue
+
+
+ lualib.lib;ws2_32.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName).dll
+ ..\bin\$(Configuration);%(AdditionalLibraryDirectories)
+ true
+ $(OutDir)mime.pdb
+ Windows
+ false
+
+ $(OutDir)$(TargetName).lib
+ MachineX86
+
+
+
+
+ Disabled
+ ..\include;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;_USRDLL;LUASOCKET_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;LUA_COMPAT_MODULE;LUASOCKET_DEBUG;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebugDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ lualib.lib;ws2_32.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName).dll
+ ..\bin\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)
+ true
+ $(OutDir)mime.pdb
+ Windows
+ false
+
+
+ $(OutDir)$(TargetName).lib
+
+
+
+
+ ..\include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;_USRDLL;LUASOCKET_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;LUA_COMPAT_MODULE;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+
+ Level4
+
+
+
+ lualib.lib;ws2_32.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName).dll
+ ..\bin\$(Configuration);%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ false
+
+ $(OutDir)$(TargetName).lib
+ MachineX86
+
+
+
+
+ ..\include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;_USRDLL;LUASOCKET_API=__declspec(dllexport);_CRT_SECURE_NO_WARNINGS;LUA_COMPAT_MODULE;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+
+
+ Level4
+
+
+
+
+ lualib.lib;ws2_32.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName).dll
+ ..\bin\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ false
+
+
+ $(OutDir)$(TargetName).lib
+
+
+
+
+
+
\ No newline at end of file