/// <summary> /// Default constructor. /// </summary> /// <param name="server">UDP server which received packet.</param> /// <param name="socket">Socket which received packet.</param> /// <param name="remoteEP">Remote end point which sent data.</param> /// <param name="data">UDP data.</param> internal UDP_PacketEventArgs(UDP_Server server, Socket socket, IPEndPoint remoteEP, byte[] data) { m_pUdpServer = server; m_pSocket = socket; m_pRemoteEP = remoteEP; m_pData = data; }