From 32c15a4c1aba6da834744acfc112844eef8ffb4f Mon Sep 17 00:00:00 2001 From: "Alecio Furanze (Ale)" Date: Tue, 19 Nov 2024 06:59:49 +0200 Subject: [PATCH] fix rudp. Server couldn't receive (On.Modify) and (On.Open) event after accepted. fix rudp. Server couldn't receive (On.Modify) and (On.Open) event after accepted. --- src/rudp/partials/RUDP.ServerTo.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rudp/partials/RUDP.ServerTo.cs b/src/rudp/partials/RUDP.ServerTo.cs index 9f688d5..294d138 100644 --- a/src/rudp/partials/RUDP.ServerTo.cs +++ b/src/rudp/partials/RUDP.ServerTo.cs @@ -373,6 +373,10 @@ private void ContentUpdate() // invoke new client On.OnAccept?.Invoke(null, client); + + // start client connection callback + client._on?.OnModify(null, _socket); + client._on?.OnOpen(null, null); } });