Changeset 573:23600819747c in roaraudio
- Timestamp:
- 08/19/08 14:16:02 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/roard.c
r550 r573 229 229 server = argv[++i]; 230 230 231 } else if ( strcmp(k, "-t") == 0 ) {231 } else if ( strcmp(k, "-t") == 0 || strcmp(k, "--tcp") == 0 ) { 232 232 if ( sock_type != ROAR_SOCKET_TYPE_TCP && sock_type != ROAR_SOCKET_TYPE_TCP6 ) 233 233 sock_type = ROAR_SOCKET_TYPE_TCP; … … 250 250 #endif 251 251 252 } else if ( strcmp(k, "-u") == 0 ) {252 } else if ( strcmp(k, "-u") == 0 || strcmp(k, "--unix") == 0 ) { 253 253 // ignore this case as it is the default behavor. 254 254 sock_type = ROAR_SOCKET_TYPE_UNIX; 255 255 256 } else if ( strcmp(k, "-n") == 0 ) {256 } else if ( strcmp(k, "-n") == 0 || strcmp(k, "--decnet") == 0 ) { 257 257 #ifdef ROAR_HAVE_LIBDNET 258 258 port = ROAR_DEFAULT_NUM;
Note: See TracChangeset
for help on using the changeset viewer.