Changeset 522:831c6669c72a in roaraudio


Ignore:
Timestamp:
08/15/08 22:31:19 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

try also DECnet if server is NULL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/basic.c

    r521 r522  
    3434  if ( (fh = roar_socket_connect(ROAR_DEFAULT_HOST, ROAR_DEFAULT_PORT)) != -1 ) 
    3535   return fh; 
     36 
     37  if ( roar_socket_get_local_nodename() ) { 
     38   snprintf(user_sock, 79, "%s::%s", roar_socket_get_local_nodename(), ROAR_DEFAULT_OBJECT); 
     39   return roar_socket_connect(user_sock, ROAR_DEFAULT_NUM); 
     40  } 
    3641 
    3742 } else { 
Note: See TracChangeset for help on using the changeset viewer.