Добавлен транспорт TCP

This commit is contained in:
Пытков Роман
2025-09-17 11:07:45 +03:00
parent bbe5a75dba
commit 095726786d
5 changed files with 317 additions and 10 deletions

66
.vscode/launch.json vendored
View File

@@ -52,6 +52,59 @@
"presentation": {
"hidden": true
}
},
{
"name": "TCP/JSON Server",
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/Server/bin/Debug/net8.0/Server.dll",
"args": [ "tcp", "json" ],
"cwd": "${workspaceFolder}/Server",
"console": "integratedTerminal",
"stopAtEntry": false,
"presentation": {
"hidden": true
}
},
{
"name": "TCP/JSON Client",
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/Client/bin/Debug/net8.0/Client.dll",
"args": [ "tcp", "json" ],
"cwd": "${workspaceFolder}/Client",
"console": "integratedTerminal",
"stopAtEntry": false,
"presentation": {
"hidden": true
}
},
{
"name": "TCP/BIN Server",
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/Server/bin/Debug/net8.0/Server.dll",
"args": [ "tcp", "bin" ],
"cwd": "${workspaceFolder}/Server",
"console": "integratedTerminal",
"stopAtEntry": false,
"presentation": {
"hidden": true
}
},
{
"name": "TCP/BIN Client",
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/Client/bin/Debug/net8.0/Client.dll",
"args": [ "tcp", "bin" ],
"cwd": "${workspaceFolder}/Client",
"console": "integratedTerminal",
"stopAtEntry": false,
"presentation": {
"hidden": true
}
}
],
"compounds": [
@@ -66,6 +119,19 @@
"configurations": ["HTTP/BIN Server", "HTTP/BIN Client"],
"preLaunchTask": "dotnet: build",
"stopAll": true
},
{
"name": "TCP/JSON: Server and Client",
"configurations": ["TCP/JSON Server", "TCP/JSON Client"],
"preLaunchTask": "dotnet: build",
"stopAll": true
},
{
"name": "TCP/BIN: Server and Client",
"configurations": ["TCP/BIN Server", "TCP/BIN Client"],
"preLaunchTask": "dotnet: build",
"stopAll": true
}
]
}