Ignore:
Timestamp:
Jun 28, 2006 4:46:49 PM (17 years ago)
Author:
bennylp
Message:

Major improvements in PJSIP to support TCP. The changes fall into these categories: (1) the TCP transport implementation itself (*.[hc]), (2) bug-fix in SIP transaction when using reliable transports, (3) support for TCP transport in PJSUA-LIB/PJSUA, and (4) changes in PJSIP-TEST to support TCP testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/test-pjsip/main.c

    r111 r563  
    2121#include <string.h> 
    2222#include <stdlib.h> 
     23 
     24extern const char *system_name; 
    2325 
    2426static void usage() 
     
    5860            } 
    5961            log_level = atoi(*opt_arg); 
     62        } else  if (strcmp(*opt_arg, "-s") == 0 || 
     63            strcmp(*opt_arg, "--system") == 0) 
     64        { 
     65            ++opt_arg; 
     66            if (!opt_arg) { 
     67                usage(); 
     68                return 1; 
     69            } 
     70            system_name = *opt_arg; 
    6071        } else { 
    6172            usage(); 
     
    6879    retval = test_main(); 
    6980 
    70     if (argc != 1) { 
     81    if (interractive) { 
    7182        char s[10]; 
    72         printf("<Press ENTER to quit>\n"); 
     83        printf("<Press ENTER to quit>\n"); fflush(stdout); 
    7384        fgets(s, sizeof(s), stdin); 
    7485    } 
Note: See TracChangeset for help on using the changeset viewer.