Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Adds back socket connected event (#1688)
### Summary Adds back the `SocketConnected` event. This event only fires asynchronously! (TcpServer thread). Example: ```cs public static void Configure() { TcpServer.EventSink.SocketConnected += OnSocketConnected; } // WARNING: Executed on the TcpServer thread! private static void OnSocketConnected(TcpServer.SocketConnectedEventArgs args) { if (... logic here...) { AdminFirewall.Add(((IPEndPoint)Socket.RemoteEndPoint)!.Address); } } ```
- Loading branch information