Copy over some MSDN code into tcp_client.h. Beginning of project

This commit is contained in:
2025-09-13 22:25:33 -05:00
commit 197ff389db
7 changed files with 483 additions and 0 deletions

20
export.bat Normal file
View File

@@ -0,0 +1,20 @@
SETLOCAL ENABLEDELAYEDEXPANSION
Echo [ > compile_commands.json
FOR /r "src\" %%F IN (*.cpp) DO (
SET "file=%%F"
SET "file=!file:\=/!"
SET "directory=%~dp0"
SET "directory=!directory:\=/!"
ECHO { >> compile_commands.json
ECHO "directory": "!directory!", >> compile_commands.json
ECHO "command": "cl !file! Ws2_32.lib -I inc -std:c++20 -Fo:obj\\", >> compile_commands.json
ECHO "file": "!file!" >> compile_commands.json
ECHO }, >> compile_commands.json
)
ECHO ] >> compile_commands.json