silc_socket_stream_get_info

SYNOPSIS

    SilcBool
    silc_socket_stream_get_info(SilcStream stream,
                                SilcSocket *sock, const char **hostname,
                                const char **ip, SilcUInt16 *port);

DESCRIPTION

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.