Changeset 733

Show
Ignore:
Timestamp:
03/01/08 02:43:32 (6 months ago)
Author:
dsallings
Message:

Removed -B option. Protocol is always auto-discovered.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/binary/server/memcached.c

    r732 r733  
    33003300    printf("-p <num>      TCP port number to listen on (default: 11211)\n" 
    33013301           "-U <num>      UDP port number to listen on (default: 0, off)\n" 
    3302            "-B <num>      binary protocol TCP port number to listen on (default: 0, off)\n" 
    33033302           "-s <file>     unix socket path to listen on (disables network support)\n" 
    33043303           "-a <mask>     access mask for unix socket, in octal (default 0700)\n" 
     
    35533552            settings.port = atoi(optarg); 
    35543553            break; 
    3555         case 'B': 
    3556             settings.binport = atoi(optarg); 
    3557             break; 
    35583554        case 's': 
    35593555            settings.socketpath = optarg; 
     
    37903786        } 
    37913787 
    3792         /* Try the binary port. */ 
    3793         if(settings.binport > 0) { 
    3794             if(server_socket(settings.binport, binary_prot)) { 
    3795                  fprintf(stderr, "failed to listen to binary protocol\n"); 
    3796                     exit(EXIT_FAILURE); 
    3797             } 
    3798         } 
    37993788        /* 
    38003789         * initialization order: first create the listening sockets 
  • branches/binary/server/memcached.h

    r732 r733  
    127127    int port; 
    128128    int udpport; 
    129     int binport;           /* Port for binary protocol. */ 
    130129    char *inter; 
    131130    int verbose;