Changeset 5375:2b4d1e027b2d in roaraudio for roarclients
- Timestamp:
- 12/22/11 21:16:34 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roarclients
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarradio.c
r5238 r5375 125 125 file = "/"; 126 126 127 if ( (in = roar_socket_connect( host, port)) == -1 ) {127 if ( (in = roar_socket_connect(ROAR_SOCKET_TYPE_UNKNOWN, host, port)) == -1 ) { 128 128 ROAR_ERR("can not connect to remote server %s (port %i): %s", host, port, strerror(errno)); 129 129 return 0; … … 132 132 *file = 0; 133 133 134 if ( (in = roar_socket_connect( host, port)) == -1 ) {134 if ( (in = roar_socket_connect(ROAR_SOCKET_TYPE_UNKNOWN, host, port)) == -1 ) { 135 135 ROAR_ERR("can not connect to remote server %s (port %i): %s", host, port, strerror(errno)); 136 136 return 0; -
roarclients/roarsockconnect.c
r4708 r5375 45 45 port = atoi(argv[2]); 46 46 47 if ( (fh = roar_socket_connect( argv[1], port)) == -1 ) {47 if ( (fh = roar_socket_connect(ROAR_SOCKET_TYPE_UNKNOWN, argv[1], port)) == -1 ) { 48 48 ROAR_ERR("Error: can not connect!"); 49 49 return 1;
Note: See TracChangeset
for help on using the changeset viewer.