roar_stream_connect_to(3) System Manager's Manual: RoarAudio roar_stream_connect_to(3)NAME
roar_stream_connect_to - Connects a stream to some listening socket
SYNOPSIS
#include <roaraudio.h>
int roar_stream_connect_to(struct roar_connection * con, struct roar_stream * s, int type, char * host, int port);
DESCRIPTION
This let the sound server connect to some remote end to get it's data for a stream. This is used internaly to open additional streams for
roar_simple_new_stream(3).
NOTE: This is not an alternative version of roar_stream_connect(3). You still need to connect the stream to the server via roar_stream_con-
nect(3) before you can use this call.
PARAMETERS
con The connection to the server.
s The stream to connect.
type, host, port
Where the stream should be connected to. For a description of all these parameters see roar_socket_listen(3).
NOTES
This call will block untill the server process to connect to has accepted the connection. This makes this call unusable to connect back to
us if we are not threaded. For a nonblocking call see roar_stream_connect_to_ask(3).
RETURN VALUE
On success these calls return 0. On error, -1 is returned.
EXAMPLES
FIXME
SEE ALSO roar_simple_new_stream(3), roar_stream_connect(3), roar_socket_listen(3), libroar(7), RoarAudio(7).
RoarAudio May 2011 roar_stream_connect_to(3)
Check Out this Related Man Page
roartestclients(1) System Manager's Manual: roard roartestclients(1)NAME
roarcat2sock, roarcatad, roarsin, roarsockconnect - RoarAudio sound server test clients
SYNOPSIS
roarcat2sock [OPTIONS]...
roarcatad [OPTIONS]...
roarsin
roarsockconnect HOST PORT
DESCRIPTION
This clients are primary for test perpose but may be useful for someone or can be used as examples.
roarcat2sock
This is the same as roarcat(1) but uses roar_simple_new_stream(3) to open the audio stream.
roarcatad
This is also the same as roarcat(1) but uses roar_stream_add_data(3) to fill the server's input buffer.
roarsin
This is the complete version of the sinus generator from roartut(7). It plays a 5 second middle C (523.2Hz) sine.
roarsockconnect
This is just a test tool connecting somewhere via roar_socket_connect(3). First the data of stdin is copied to the socket than the
data from the socket to stdout. It's a very simlple semi-bi-directional version of netcat(1).
GENERAL OPTIONS
NOTE: This list is incomplete!
--help Print some help text.
AUDIO OPTIONS --rate RATE, -R RATE
Set server sample rate.
--bits BITS, -B BITS
Set server bits.
--chans CHANNELS, -C CHANNELS
Set server channels.
NETWORK OPTIONS --server SERVER
The server to connect to
ENVIRONMENT VARIABLES
Bellow only the basic environment varibales are listend. For a complete list see libroar(7).
HOME The users home directory.
ROAR_SERVER
The address of the listening server. This may be in form of host:port for TCP/IP connections and /path/to/sock for UNIX Domain Sock-
ets. See roartips(7) for a full list. This is the same as the --server option.
BUGS
There are a lot of bugs...
SEE ALSO roarctl(1), roarvorbis(1), roarfish(1), roarbaseclients(1), roartips(7), libroar(7), RoarAudio(7).
HISTORY
For history information see RoarAudio(7).
RoarAudio July 2008 roartestclients(1)
ok the fact taht i cant even connect to the school UNIX server isnt good. thats where the project is.
the server address is telnet://164.106.464.10
when i type it in and press enter a window pops up and it says Connecting to 164.106.464.10 then it just closes. doesnt say anything (or it... (6 Replies)
I need to connect to DB2 through Unix and check whether the database is up or not. We are planning to use Neon shadow direct to connect to the same. I would like to know how to pass parameters to neon shadow direct. Any guidance/help in this regard would be helpful.
My unix box is AIX 1.
... (3 Replies)
I am using "UNIX System V Release 4.0" OS
getting a error message while trying to connect the server
Trying 10.229.192.122...
Connected to devser (10.229.192.122).
Escape character is '^]'.
telnetd: could not grant slave pty.
Connection closed by foreign host.
but able to connect the... (4 Replies)
Hi there. I am attempting to write a script that will read through a flat file, get the server and directory that I want the size for, connect to the server, get the directory size, and send it to an output file. Here is what I have:
while read LINE
do
NAME=`echo $LINE | awk -F'~' '{print... (5 Replies)
I have a incoming print stream from a Open Vms server that I need to redirect to a log file. The print stream comes in via a IP address and port onto the Unix server. Does anyone know the command and syntax that I will need to use to achieve this?
Thanks (3 Replies)
I have old SUN server on my desk. I know it worked before. I want to be able to connect to server from my PC. Just to establish a dump terminal.
1. I connected to power socket
2. I Have a cable that fits in (i believe is a com ports there are A B slots the same I plugged it in A). They are... (33 Replies)
Hi,
I have a script in which i'm using ndm connect direct to fetch data from the client server..syntax i'm using is
./con_using_connectdirect /load/nctrl nctrl $xhost
where con_using_connectdirect is the script which establishes connection
load/nctrl is the path from where data... (4 Replies)
Hi,
I have an interesting problem. I cannot connect to a personal server I set up. What's interesting is that I can connect to it from the LAN using its non-local IP address. However, I cannot seem to connect to it from anywhere else.
Here's how my server is set up:
My entire home has a... (8 Replies)
hi all,
i meet a problem when opening a socket, is that when the remote host not available or its port hanged ,my program still suspending untill i cancel the operation...
but when the host is ok ,my program work ok.
i handled in my code all these exceptions ,but my problem is when the host is... (6 Replies)
Dear all,
I am faced with an error "UX ER087-0" failling to connect to the server.
Any ideas of what might be causing the error?
Many thanks (17 Replies)
Hi guys,
I have a jumpserver that I connect to in order to connect to my SOLARIS boxes. I cannot connect directly. I used a remote terminal server and from there putty to the servers. That is OK.
My only problem is when I need to FTP something to it. I have found no way to do that.
Any... (4 Replies)
I'm trying to connect to my linux server but I'm having some major problems. The server had OEL 5 installed and my local pc is running Windows XP. I'm using PuTTy to connect to the server with Xming running on my loacl machine. I login as root and run the following command -
export... (5 Replies)
Hi
The clients connect to my server -using port 9130. But no client could connect to my server at this time. I've checked already and this is the result
netstat -Aan|grep -v 127.0.0.1|grep 9130|pg
f10006000abcb398 tcp4 10313 0 10.0.89.81.9130 10.158.70.24.1705 CLOSE_WAIT... (8 Replies)