Google

libshout documentation

libshout version 1.0.4 - 20000824

shout_disconnect

declared in <shout/shout.h>

The shout_disconnect function closes an open connection to an icecast server.

int shout_disconnect(
    shout_conn_t *self    /* pointer to the connection structure */
);

Parameters

self
pointer to the connection structure

Return Values

Returns true (1) on success or false (0) on failure. If the function fails, self->error will contain the error code.

error code reason
SHOUTERR_INSANE Function failed the sanity check. The connection to the server was invalid.



copyright © 2000 icecast team

www.icecast.org
team@icecast.org

libshout documentation

libshout version 1.0.4 - 20000824