Function silc_client_add_connection
SYNOPSIS
SilcClientConnection
silc_client_add_connection(SilcClient client,
SilcClientConnectionParams *params,
char *hostname, int port, void *context);
DESCRIPTION
Allocates and adds new connection to the client. This adds the allocated
connection to the connection table and returns a pointer to it. A client
can have multiple connections to multiple servers. Every connection must
be added to the client using this function. User data `context' may
be sent as argument. If the `params' is provided they are used by
the routine.
NOTES
This function is normally used only if the application performed
the connecting outside the library, and did not called the
silc_client_connect_to_server function at all. The library
however may use this internally.
|