Node:About Asynchronous Messages, Next:async-new-text-old, Up:Asynchronous Messages
Clients can select which messages to receive by issuing an
accept-async
call. They can find out which
messages are being sent by issuing the query-async
call. Note that the server can send other messages as well. For example, a broadcast message from a person with admin bits set may get through even if the client has not requested broadcast messages.
When a connection is opened some messages are selected by default.
Clients should use the accept-async call to select which
messages they want. Servers are encouraged to preselect the
async-new-text-old, async-new-name,
async-sync-db, async-leave-conf, async-login,
async-rejected-connection, async-send-message and
async-logout messages. These correspond to the useful messages
that were sent prior to the introduction of accept-async.
An asynchronous message is sent as a colon immediately followed by the
number of message parameters, the message number and the message
parameters. For example, message number 5 could be sent as
:3 5 119 11HDavid Byers 13HDavid C Byers
The parameters of each message are listed in the same format as server calls.