roar_connect(3) System Manager's Manual: RoarAudio roar_connect(3)NAME
roar_connect, roar_connect2 - connects to RoarAudio's sound server
SYNOPSIS
#include <roaraudio.h>
int roar_connect(struct roar_connection * con, char * server); int roar_connect2 (struct roar_connection * con, char * server, int
flags, uint_least32_t timeout);
DESCRIPTION
Connects to RoarAudio's sound server. This calls just connects to the sound server without any authentication or identify. Do not use
this from end user applications. Use roar_simple_connect(3) or roar_simple_connect2(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.
flags Flags used to connect to the server. Currently only ROAR_ENUM_FLAG_NONE and ROAR_ENUM_FLAG_NONBLOCK are supported.
ROAR_ENUM_FLAG_NONBLOCK disables some of the server location features.
timeout
Timeout for the connection. A value of zero means no timeout. Currently timeouts are not supported.
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).
RoarAudio May 2011 roar_connect(3)
Check Out this Related Man Page
roar_connectionref(3) System Manager's Manual: RoarAudio roar_connectionref(3)NAME
roar_connectionref, roar_connectionunref - change reference counter for RoarAudio connections
SYNOPSIS
#include <roaraudio.h>
int roar_connectionref(struct roar_connection * con);
int roar_connectionunref(struct roar_connection * con);
#define roar_disconnect(x) roar_connectionunref((x))
DESCRIPTION
Those functions change the reference counter for connection objects previously opend via roar_connect(3), roar_connect_fh(3) or roar_sim-
ple_connect(3). If the reference counter hints zero the connection is closed and the object is destroyed.
The roar_disconnect(3) macro is provided to be source compatible (recompile needed) with RoarAudio 0.4 or older.
PARAMETERS
con The connection to be altered.
RETURN VALUE
On success these calls return 0. On error, -1 is returned.
EXAMPLES
FIXME
SEE ALSO roar_simple_connect(3), libroar(7), RoarAudio(7).
RoarAudio May 2011 roar_connectionref(3)
Could anyone provide me with the source code for a simple multithreaded server in C that uses UNIX system calls, implementing only the GET command. Or point me to a location where I can view such source code?
any help will save my bacon!
Regards Gee :( (4 Replies)
I wrote a server which creates a thread for every client connection. I have to include timeout function that will kill the server thread if the client doesn't respond for specific time. That too using signal(SIGALRM). For this i am using alarm() function.
When the server thread detects signal it... (1 Reply)
Check this site out... if you haven't already, that is.
What they say sound like well reasoned arguments, but I don't agree with them (that may be due to the way I (we?) have been brought up, I don't know).
What do you guys think? (4 Replies)
I am attempting to narrow down to one professional organization; however they all sound good, have similar benefits ...
So I was wondering if anyone has a founded preference? Some on who is a member of one of the organizations, epically if you are also an IT Pro as well. I would also like some... (6 Replies)
Hey all
Ive written a program for a Java program in college. just something basic where a client connects to a server through java socket programming. Yet when i run the server on Ubuntu and place and run the client on a windows XP machine, they cannot connect to each other. If the are on the... (2 Replies)
heloo
today i have DDos Attack in my server
what is the better way to secure my server from DDos Attack
i use CentOS 4&5
i try every firewall and talk to softlayer - iweb i've Tried every possible solutions but I can not find a solution to the problems
Give Me The best way plzz (4 Replies)
Hi,
I have xmanager installed on my windows PC. But I am not able to connect to AIX server.
It's giving the error as follows:
The X11 forwarding request was rejected. Graphics mode is not coming up in AIX server.
Please help as I have to install oracle patchset urgently. (1 Reply)
hi all
i am working on a monitoring script for my server... i am able to monitor all the explicit sessions ... the problem arises when some one is using editplus to modify a file in the server .. the unix server is not showing the edit plus access as a session ... how to monitor the actions... (3 Replies)
I am working with Unix SCO 5.0.5, and every time connect to server automatically, on left top corner of terminal screen always show server IP address, that is unsecured, so how can I do that let this IP address disappear. (7 Replies)
Hi All,
Is there any way to increase the timeout of connect() function.
Kindly provide me some information on configuring the TCP/IP timeout period, used during the AIX 'connect()' function call.
Thanks
SP (1 Reply)
Hello UNIX users,
Thanks for helping me in my earlier post. Now, I am facing a timeout issue when ever I am transferring a zipped file from my server to client's server.
If the zipped file size is below 3 MB, it goes fine. Anything above that fails.
Below is the part of screenshot from... (1 Reply)
I want to connect RHEL server from my windows 7 Professional machine graphically. I logged into 1 RHEL server with IP, 10.101.17.80 using Putty from my Windows 7 professional machine. Now from this server, 10.101.17.80, I want to connect to another RHEL server 10.101.17.79. I used,
ssh -X... (1 Reply)
a server with RHEL 5.3 is running.
im going to access this via putty but get message
"server unexpectedly closed network connection". after some time.
same is the case with root and oracle user.
what can be issue ? (7 Replies)
Hello,
I would like to identify the blade or/and bladecenter from the hosted VIO server.
I prefer the "command line" solution. May be kdb.
Like, I want to ask the child about his father.
Thank you (1 Reply)