Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

muroar_close(3) [debian man page]

muroar_close(3) 					    muRoar Programmer's Manual						   muroar_close(3)

NAME
muroar_close - Disconnect stream from RoarAudio sound server SYNOPSIS
#include <muroar.h> int muroar_close(muroar_t fh); DESCRIPTION
This function disconnects a data connection (stream) from the sound server in a clean way. The socket is closed by this function. No addi- tional close(2) is needed. Open control connections which are not created by muroar_stream(3) must not be closed using this function. They must be closed using muroar_quit(3). RETURN VALUE
On success this call return 0. On error, -1 is returned. HISTORY
This function first appeared in muRoar version 0.1beta0. SEE ALSO
muroar_connect(3), muroar_stream(3), muroar_quit(3), RoarAudio(7). muRoar April 2012 muroar_close(3)

Check Out this Related Man Page

roar_exit(3)						System Manager's Manual: RoarAudio					      roar_exit(3)

NAME
roar_exit - let RoarAudio's sound server quit roar_terminate - let RoarAudio's sound server quit as soon as all clients quit SYNOPSIS
#include <roaraudio.h> int roar_exit(struct roar_connection * con); int roar_terminate(struct roar_connection * con, int terminate); DESCRIPTION
Ask the sound server to quit. roar_exit() let the server quit without waiting for any clients. All streams and client connections will be closed cleanly. roar_terminate() will let the server quit as soon as all clients disconnects and all input streams ended. The listening socket will be closed. This is useful in case of restarting roard. PARAMETERS
con An open controll connection to the server. terminate Wait for all clients to disconnect and all streams to EOF in case of 1. In case of 0 roar_terminate() is equal to roar_exit(). RETURN VALUE
On success these calls return 0. On error, -1 is returned. NOTES
Even when the call was successfull you have to use roar_disconnect(3) to disconnect from the server. EXAMPLES
FIXME SEE ALSO
roar_disconnect(3), libroar(7), RoarAudio(7). RoarAudio May 2011 roar_exit(3)
Man Page