getAppProtocols (43)

The getAppProtocols message is sent to a contact to query which custom, named application protocols they support. This is used for service discovery before attempting to send protocol-specific data.

Core Data Types

This message has no payload.

Payload Structure

The getAppProtocols message is defined by its type code and carries no data in its payload.

FieldData TypeMinMaxDescription
N/AN/A00The payload is always empty.

Behavioral Notes

  • Discovery: A client sends this message to a contact to discover what application protocols it can interact with.
  • Response: A node that receives this message SHOULD respond with an appProtocols message, listing the protocol IDs it supports.