Changeset 1988 for pjproject/trunk/pjnath/src/pjturn-client/client_main.c
- Timestamp:
- Jun 6, 2008 2:47:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjturn-client/client_main.c
r1929 r1988 69 69 static int worker_thread(void *unused); 70 70 static void turn_on_rx_data(pj_turn_sock *relay, 71 const pj_uint8_t*pkt,71 void *pkt, 72 72 unsigned pkt_len, 73 73 const pj_sockaddr_t *peer_addr, … … 275 275 276 276 srv = pj_str(o.srv_addr); 277 CHECK( pj_turn_sock_init(g.relay, /* the relay */277 CHECK(pj_turn_sock_alloc(g.relay, /* the relay */ 278 278 &srv, /* srv addr */ 279 279 (o.srv_port?atoi(o.srv_port):PJ_STUN_PORT),/* def port */ … … 295 295 296 296 static void turn_on_rx_data(pj_turn_sock *relay, 297 const pj_uint8_t*pkt,297 void *pkt, 298 298 unsigned pkt_len, 299 299 const pj_sockaddr_t *peer_addr,
Note: See TracChangeset
for help on using the changeset viewer.