Skip to content

Commit

Permalink
fix rudp. Server couldn't receive (On.Modify) and (On.Open) event aft…
Browse files Browse the repository at this point in the history
…er accepted.

fix rudp. Server couldn't receive (On.Modify) and (On.Open) event after accepted.
  • Loading branch information
alec1o committed Nov 19, 2024
1 parent a4a1af2 commit 32c15a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rudp/partials/RUDP.ServerTo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});

Expand Down

0 comments on commit 32c15a4

Please sign in to comment.