Changeset 6080:c9c0c0e4653b in roaraudio


Ignore:
Timestamp:
05/31/15 04:16:48 (4 years ago)
Author:
phi
Branch:
default
Message:

Added listen={single|listener} mode to socket DSTRs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_socket.c

    r6052 r6080  
    5353 
    5454 if ( opts != NULL ) { 
    55   if ( strstr(opts, "listen") != NULL ) { 
     55  if ( strstr(opts, "listen=listener") != NULL ) { 
     56   listening  = 1; 
     57   one_client = 0; 
     58  } else if ( strstr(opts, "listen=single") != NULL || strstr(opts, "listen") != NULL ) { 
    5659   listening  = 1; 
    5760   one_client = 1; 
Note: See TracChangeset for help on using the changeset viewer.