Echo demo fix
This commit is contained in:
parent
ca38cd91a9
commit
3b0175c135
@ -70,12 +70,17 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="ol-win.c" />
|
||||
<ClCompile Include="test\echo-server.c" />
|
||||
<ClCompile Include="test\echo-demo.c" />
|
||||
<ClCompile Include="test\echo.c" />
|
||||
<ClCompile Include="test\test-ping-pong.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="ngx-queue.h" />
|
||||
<ClInclude Include="ol-win.h" />
|
||||
<ClInclude Include="ol.h" />
|
||||
<ClInclude Include="test\echo.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="iocp-links.html" />
|
||||
|
||||
@ -2,9 +2,11 @@
|
||||
#include "echo.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
int r;
|
||||
|
||||
ol_init();
|
||||
|
||||
int r = echo_start(8000);
|
||||
r = echo_start(8000);
|
||||
if (r) {
|
||||
return r;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user