+ * Returns socket stream information such as the socket, remote hostname,
+ * remote IP address and the remote port of the remote socket connection.
+ * Return FALSE if these informations are not available.
+ *
+ ***/
+SilcBool silc_socket_stream_get_info(SilcStream stream,
+ SilcSocket *sock, const char **hostname,
+ const char **ip, SilcUInt16 *port);
+
+/****f* silcutil/SilcSocketStreamAPI/silc_socket_stream_set_info
+ *
+ * SYNOPSIS
+ *
+ * SilcBool
+ * silc_socket_stream_set_info(SilcStream stream,
+ * const char *hostname,
+ * const char *ip, SilcUInt16 port);
+ *
+ * DESCRIPTION
+ *
+ * Use this function to set the hostname, IP address and remote port
+ * information to the socket stream indicated by `stream' if you did not
+ * perform lookup in the silc_socket_tcp_stream_create. This is not
+ * mandatory but if you would like to associate the information with the
+ * stream use this function. If the lookup was performed when creating
+ * the stream then calling this function is not necessary. Use the
+ * function silc_socket_stream_get_info to get the information from the
+ * stream.