GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
AuOpenServer(3) FreeBSD Library Functions Manual AuOpenServer(3)

Name

AuOpenServer - connect to audio server

Synopsis

#include <audio/audiolib.h>

AuServer *AuOpenServer(servername, num_authproto, authproto, num_authdata, authdata, ret_status)
char *servername;
int num_authproto;
char *authproto;
int num_authdata;
char *authdata;
char **return_status; /* RETURN */

Arguments

Specifies the audio server name. This determines the server and communications domain to be used.
Specifies the length of the connection authorization protocol name.
Specifies the name of the connection authorization protocol.
Specifies the length of the connection authorization data.
Specifies the connection authorization data.
If non-NULL, and the connection is refused, returns an error message.

Description

AuOpenServer creates a connection to the specified audio server and returns a pointer to an AuServer structure or NULL, with return_status (if non-NULL) pointing to an error message describing the reason, if it was unsuccessfull.

If servername is NULL or a pointer to NUL, AuOpenServer get the value from the enviroment. servername has the format hostname:port or hostname::port. If a double colon (::) separates the hostname and port number, AuOpenServer connects using DECnet streams. If a single colon (:) separates the hostname and port number, and the hostname is a host machine name, AuOpenServer connects using TCP streams. If a single colon (:) separates the hostname and port number, and the hostname is "unix", AuOpenServer connects using UNIX domain sockets (or Streams). If the hostname is not specified, AuOpenServer uses whatever it believes is the fastest transport.

See Also

AuCloseServer, AuServerName.

audiolib - Network Audio System C Language Interface

1.9.4 audiolib - housekeeping

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.