Scroll to navigation

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

NAME

muroar_noop - Send no-operation command to RoarAudio sound daemon

SYNOPSIS

#include <muroar.h>

int muroar_noop (muroar_t fh);

DESCRIPTION

This function sends a no-operation command to the sound daemon fh is connected to. fh need to be connected using muroar_connect(3) to a sound server supporting the RoarAudio protocol and the NOOP command.

This function can be used to "ping" the server. It may for example be used as keep-alive for long running connections where no data is transferred.

RETURN VALUE

On success this call return 0. On error, -1 is returned.

HISTORY

This function first appeared in muRoar version 0.1.2.

SEE ALSO

muroar_connect(3), muroar_quit(3), RoarAudio(7).

April 2012 muRoar