private void _client_ConnHandler(object sender, EventCommu e) { TcpClient client = sender as TcpClient; if (e.State == 1) { lstClient.TryRemove(client.DeviceId, out _); } }
private void _client_ConnHandler(object sender, EventCommu e) { rtbText(e.ClientInfo); }