client hello (#1)

This commit is contained in:
shalzuth
2022-01-16 22:55:42 +01:00
committed by GitHub
parent 14ce748c5c
commit f3b7efca45
10 changed files with 483 additions and 25 deletions
+2 -2
View File
@@ -86,10 +86,10 @@ public abstract partial class UWorld : FNetworkNotify, IAsyncDisposable
return false;
}
NetDriver = new UIpNetDriver(Url.Host, Url.Port);
NetDriver = new UIpNetDriver(Url.Host, Url.Port, IsServer());
NetDriver.SetWorld(this);
if (!NetDriver.Init(this))
if (!((UIpNetDriver)NetDriver).InitListen(this))
{
Logger.Error("Failed to listen");
NetDriver = null;