When someone's server or client requests one of your own properties, your client will receive an RX_PROP_QUERY message. You can then decide whether your client should answer the request.
The format for an RX_PROP_QUERY message is:
RX_PROP_QUERY address property
where
| address | is the (apparent) address of the interested party and |
| property | is an envelop whose data field identifies the property being queried. |
Upon receiving this message, your client should decode the envelop and determine whether or not it wishes to reveal the requested property. Four actions can result:
Note that because the fourth option is possible, and because property announces can arrive even without prior queries, a property query is less like a function call with a return value and more like an invitation to announce a property.