Débug project/dépot
continuous-integration/drone/push Build is passing Details

pull/1/head
Hugo LIVET 2 years ago
parent 85bd82a182
commit b86e41c11b

@ -1,5 +1,5 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0
CMD dotnet run --project /server/Server.csproj
CMD dotnet run --project /server/Server/Server.csproj
EXPOSE 3131

@ -3,11 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32526.322
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Server", "Server\Server.csproj", "{356E6AA3-C180-4309-ACCE-C6E66B4DF441}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataBase", "DataBase\DataBase.csproj", "{240EEEA0-7EFB-4919-A5C9-584DC6505C58}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Client", "Client\Client.csproj", "{1D3CF318-8453-4D0C-B11D-2A6B7E44AA47}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataBase", "DataBase\DataBase.csproj", "{240EEEA0-7EFB-4919-A5C9-584DC6505C58}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "Server\Server.csproj", "{95CCBA12-CAB4-4574-A91C-77844E5C2C10}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -15,18 +13,14 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{356E6AA3-C180-4309-ACCE-C6E66B4DF441}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{356E6AA3-C180-4309-ACCE-C6E66B4DF441}.Debug|Any CPU.Build.0 = Debug|Any CPU
{356E6AA3-C180-4309-ACCE-C6E66B4DF441}.Release|Any CPU.ActiveCfg = Release|Any CPU
{356E6AA3-C180-4309-ACCE-C6E66B4DF441}.Release|Any CPU.Build.0 = Release|Any CPU
{1D3CF318-8453-4D0C-B11D-2A6B7E44AA47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1D3CF318-8453-4D0C-B11D-2A6B7E44AA47}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1D3CF318-8453-4D0C-B11D-2A6B7E44AA47}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1D3CF318-8453-4D0C-B11D-2A6B7E44AA47}.Release|Any CPU.Build.0 = Release|Any CPU
{240EEEA0-7EFB-4919-A5C9-584DC6505C58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{240EEEA0-7EFB-4919-A5C9-584DC6505C58}.Debug|Any CPU.Build.0 = Debug|Any CPU
{240EEEA0-7EFB-4919-A5C9-584DC6505C58}.Release|Any CPU.ActiveCfg = Release|Any CPU
{240EEEA0-7EFB-4919-A5C9-584DC6505C58}.Release|Any CPU.Build.0 = Release|Any CPU
{95CCBA12-CAB4-4574-A91C-77844E5C2C10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{95CCBA12-CAB4-4574-A91C-77844E5C2C10}.Debug|Any CPU.Build.0 = Debug|Any CPU
{95CCBA12-CAB4-4574-A91C-77844E5C2C10}.Release|Any CPU.ActiveCfg = Release|Any CPU
{95CCBA12-CAB4-4574-A91C-77844E5C2C10}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

@ -13,7 +13,7 @@ class Program
static void StartServer()
{
IPEndPoint endPoint = new IPEndPoint(IPAddress.Parse("192.168.41.58"), 3131);
IPEndPoint endPoint = new IPEndPoint(IPAddress.Parse("0.0.0.0"), 3131);
UdpClient server = new UdpClient(endPoint);
Console.WriteLine("Server started, waiting for clients to connect...");

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save