Poster of Linux kernelThe best gift for a Linux geek
roar_connect

roar_connect

Section: System Manager's Manual: RoarAuido (3) Updated: July 2008
Local index Up

 

NAME

roar_connect - connects to RoarAudio's sound server

 

SYNOPSIS

#include <roaraudio.h>

int roar_connect(struct roar_connection * con, char * server);

 

DESCRIPTION

Connects to RoarAudio's sound server. This call just connects to the sound server without any auth or identify. Do not use this from end user applications. Use roar_simple_connect(3).

 

PARAMETERS

con
The connection object to be filled with the data needed to talk to the server used by nearly all other calls.

server
The server to connect to. This may be in form "host[:port]" (TCP/IP), "/path/to/sock" (UNIX Domain Socket) or any other supported. For a full list see roartips(7).

 

RETURN VALUE

On success these calls return 0. On error, -1 is returned.

 

EXAMPLES

See libroar/simple.c, roar_simple_connect(3).

 

SEE ALSO

roar_simple_connect(3), libroar(7), RoarAudio(7).


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUE
EXAMPLES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:54:07 GMT, April 16, 2011