示例#1
0
        private void _client_ConnHandler(object sender, EventCommu e)
        {
            TcpClient client = sender as TcpClient;

            if (e.State == 1)
            {
                lstClient.TryRemove(client.DeviceId, out _);
            }
        }
示例#2
0
 private void _client_ConnHandler(object sender, EventCommu e)
 {
     rtbText(e.ClientInfo);
 }