adjusted clsocket build and test, so there is an EchoServer and QueryDayTime sending a string to the EchoServer.

This commit is contained in:
Erwin Coumans
2017-02-19 12:08:58 -08:00
parent 4faa6613c9
commit 3faab1b019
5 changed files with 74 additions and 8 deletions

View File

@@ -0,0 +1,51 @@
project ("Test_clsocket_EchoServer")
language "C++"
kind "ConsoleApp"
includedirs {"../../examples/ThirdPartyLibs/clsocket/src"}
if os.is("Windows") then
defines { "WIN32" }
links {"Ws2_32","Winmm"}
end
if os.is("Linux") then
end
if os.is("MacOSX") then
end
links {"clsocket"}
files {
"EchoServer.cpp",
}
project ("Test_clsocket_QueryDayTime")
language "C++"
kind "ConsoleApp"
includedirs {"../../examples/ThirdPartyLibs/clsocket/src"}
if os.is("Windows") then
defines { "WIN32" }
links {"Ws2_32","Winmm"}
end
if os.is("Linux") then
end
if os.is("MacOSX") then
end
links {"clsocket"}
files {
"QueryDayTime.cpp",
}