X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=doc%2Fdraft-riikonen-silc-commands-03.nroff;fp=doc%2Fdraft-riikonen-silc-commands-03.nroff;h=c915a498d4965d017a492a6ef0a0afc6f4d24556;hb=275e2f50c1cbe4a0eec582cf490ef485049541af;hp=edc4cdbbfa25d1c10617430ee3e6f4cefe4a0ec6;hpb=7039cf461d3d2951acc2f3e123ccc1d68a55931d;p=silc.git diff --git a/doc/draft-riikonen-silc-commands-03.nroff b/doc/draft-riikonen-silc-commands-03.nroff index edc4cdbb..c915a498 100644 --- a/doc/draft-riikonen-silc-commands-03.nroff +++ b/doc/draft-riikonen-silc-commands-03.nroff @@ -284,11 +284,12 @@ List of all defined commands in SILC follows. option were defined in the query there will be only many replies from the server. - The server may return the list of channel the client has joined. - In this case the list is list of Channel Payloads. The Mode Mask - in the Channel Payload (see [SILC2] and section 2.3.2.3 for the - Channel Payload) is the client's mode on the channel. The list - is encoded by adding the Channel Payloads one after the other. + The server may return the list of channels if the client has + joined channels. In this case the list is list of Channel + Payloads. The Mode Mask in the Channel Payload (see [SILC2] and + section 2.3.2.3 for the Channel Payload) is the client's mode + on the channel. The list is encoded by adding the Channel + Payloads one after the other. The server may also send client's user mode, idle time, and the fingerprint of the client's public key. The is the @@ -965,7 +966,7 @@ List of all defined commands in SILC follows. 16 SILC_COMMAND_UMODE Max Arguments: 2 - Arguments: (1) (2) + Arguments: (1) (2) [] This command is used by client to set/unset modes for itself. However, there are some modes that the client MUST NOT set itself, @@ -1075,6 +1076,29 @@ List of all defined commands in SILC follows. The client MAY set and unset this mode. + 0x00000400 SILC_UMODE_DETACHED + + Marks that the client is detached from the SILC network. + This means that the actual network connection to the + client is lost but the client entry is still valid. The + detached client can be resumed at a later time. This + mode MUST NOT be set by client. It can only be set when + client has issued command SILC_COMMAND_DETACH. The server + sets this mode. This mode cannot be unset with this + command. It is unset when the client is resuming back to + the network and SILC_PACKET_RESUME_CLIENT packet is + received. + + This flag MUST NOT be used to determine whether a packet + can be sent to the client or not. Only the server that + had the original client connection can make the decision + by noticising that the network connection is not active. + In this case the default case is to discard the packet. + + If the was not provided this command merely + returns the mode mask to the client. + + Reply messages to the command: Max Arguments: 2