using System.Net.Sockets; namespace JiLinApp.Docking.VibrateAlarm; /// /// 与客户端的连接已建立事件参数 /// public class TcpClientConnectedEventArgs : EventArgs { /// /// 与客户端的连接已建立事件参数 /// /// 客户端 public TcpClientConnectedEventArgs(TcpClient tcpClient) { if (tcpClient == null) throw new ArgumentNullException("tcpClient"); TcpClient = tcpClient; } /// /// 客户端 /// public TcpClient TcpClient { get; private set; } }