Ignore:
Timestamp:
Mar 10, 2007 11:15:36 PM (17 years ago)
Author:
bennylp
Message:

Completed and tested (simple test) the TURN server and command line STUN/TURN client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjstun-srv-test/main.c

    r1049 r1054  
    123123    } 
    124124 
     125    /* 
    125126    status = pj_stun_bind_usage_create(srv, NULL, 3478, NULL); 
     127    if (status != PJ_SUCCESS) { 
     128        pj_stun_perror(THIS_FILE, "Unable to create bind usage", status); 
     129        return 1; 
     130    } 
     131    */ 
     132 
     133    status = pj_stun_turn_usage_create(srv, PJ_SOCK_DGRAM, NULL, 
     134                                       3478, NULL); 
    126135    if (status != PJ_SUCCESS) { 
    127136        pj_stun_perror(THIS_FILE, "Unable to create bind usage", status); 
Note: See TracChangeset for help on using the changeset viewer.