base chat module

This commit is contained in:
2023-02-07 18:15:24 +09:00
parent f74090a49e
commit f97220d7c2
10 changed files with 223 additions and 0 deletions

12
Chat/Server/Program.cs Normal file
View File

@@ -0,0 +1,12 @@
using Core;
namespace Server;
internal class Program
{
static async Task Main(string[] args)
{
PServer server = new PServer("127.0.0.1", 20000, 1000);
await server.StartAsync();
}
}

14
Chat/Server/Server.csproj Normal file
View File

@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Core\Core.csproj" />
</ItemGroup>
</Project>