Added rooms
This commit is contained in:
@@ -11,4 +11,10 @@
|
||||
<ProjectReference Include="..\EonaCat.Connections\EonaCat.Connections.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="server.pfx">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@@ -38,11 +38,11 @@ namespace EonaCat.Connections.Server.Example
|
||||
{
|
||||
Protocol = ProtocolType.TCP,
|
||||
Port = 1111,
|
||||
UseSsl = false,
|
||||
UseSsl = true,
|
||||
UseAesEncryption = true,
|
||||
MaxConnections = 100000,
|
||||
AesPassword = "EonaCat.Connections.Password",
|
||||
//Certificate = new System.Security.Cryptography.X509Certificates.X509Certificate2("server.pfx", "p@ss")
|
||||
Certificate = new System.Security.Cryptography.X509Certificates.X509Certificate2("server.pfx", "p@ss")
|
||||
};
|
||||
|
||||
_server = new NetworkServer(config);
|
||||
|
Reference in New Issue
Block a user