Displaying 1 result from an estimated 1 matches for "shout_connect".
Did you mean:
shout_conn_t
2004 Aug 06
4
Adventures with icecast2
...shout_conn_t conn;
char buff[4096];
long read, ret, total;
shout_init_connection(&conn);
conn.ip = "129.100.109.31";
conn.port = 9000;
conn.password = "audio";
conn.mount = "/test.ogg";
if (shout_connect(&conn)) {
printf("Connected to server...\n");
total = 0;
while (1) {
read = fread(buff, 1, 4096, stdin);
total = total + read;
if (read > 0) {...