Function silc_client_command_send
SYNOPSIS
void silc_client_command_send(SilcClient client,
SilcClientConnection conn,
SilcCommand command, SilcUInt16 ident,
SilcUInt32 argc, ...);
DESCRIPTION
Generic function to send any command. The arguments must be sent already
encoded into correct form and in correct order. If application wants
to perform the commands by itself, it can do so and send the data
directly to the server using this function. If application is using
the silc_client_command_call, this function is usually not used.
Note that this overriders the Client Librarys commands and sends
the command packet directly to server.
The variable arguments are a pair of { type, data, data_length },
and the `argc' is the number of these pairs.
EXAMPLE
silc_client_command_send(client, conn, SILC_COMMAND_WHOIS, 0, 1,
1, nickname, strlen(nickname));
|