public void OnSocketDisconnected(object sender, SocketConnectedEventArgs args) => SocketDisconnected?.Invoke(sender, args);
private void Tracker_SocketDisconnected(object sender, Utility.Network.Server.SocketConnectedEventArgs args) { Idlist.RemoveBySocket(args.SocketConnected); Logger.Info($"Socket disconnected - {Idlist.Count} clients connected"); }
public void OnSocketConnected(SocketConnectedEventArgs args) => SocketConnected?.Invoke(null, args);