/// <summary> /// Enum type of internal message /// </summary> internal enum InternalMessageIdentifier { /// <summary> /// Send connection information (accept, deny,...) /// </summary> ServerConnection = 1, /// <summary> /// Message containing application data (contain a NetworkMessage) /// </summary> TransmitData = 2, /// <summary> /// Ping message /// </summary> Ping = 3, /// <summary> /// Pong message /// </summary> Pong = 4, /// <summary> /// Message to inform client that it will be disconnected /// </summary> DestroyClient = 5, /// <summary> /// Send server publickey. Obsolete. Now public key is sended with handshake data. /// </summary> [Obsolete] TransmitPublicKey = 6, /// <summary> /// UDP service discovery message /// </summary> DiscoverServices = 7, /// <summary> /// Message with data for handshaking /// </summary> HandShake = 8 }