base chat module
This commit is contained in:
12
Chat/Server/Program.cs
Normal file
12
Chat/Server/Program.cs
Normal 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
14
Chat/Server/Server.csproj
Normal 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>
|
Reference in New Issue
Block a user