Changeset 6021:bce8f5f10f07 in roaraudio


Ignore:
Timestamp:
07/13/14 18:18:35 (5 years ago)
Author:
phi
Branch:
default
Message:

add (still useless) transport_protocol-variable in preparation for v1 packet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/req.c

    r6020 r6021  
    458458 int    port = 0; 
    459459 int    type = ROAR_SOCKET_TYPE_NONE; 
     460 int    transport_protocol = ROAR_PROTO_NONE; 
    460461 int    fh; 
    461462 int    len; 
     
    505506  default: 
    506507    // pass. 
     508   break; 
     509 } 
     510 
     511 switch (transport_protocol) { 
     512  case ROAR_PROTO_NONE: 
     513  case ROAR_PROTO_SIMPLE: // same a NONE, plain data over socket. diffrence is only in setup. 
     514    transport_protocol = ROAR_PROTO_NONE; 
     515   break; 
     516  default: 
     517    roar_err_set(ROAR_ERROR_NOSYS); 
     518    return -1; 
    507519   break; 
    508520 } 
Note: See TracChangeset for help on using the changeset viewer.