Changeset 5596
- Timestamp:
- May 24, 2017 1:02:07 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/turn_sock.c
r5578 r5596 893 893 /* Initiate non-blocking connect */ 894 894 #if PJ_HAS_TCP 895 status=pj_activesock_start_connect(turn_sock->active_sock, 896 turn_sock->pool, 897 &info.server, 898 pj_sockaddr_get_len(&info.server)); 895 if (turn_sock->conn_type != PJ_TURN_TP_UDP) { 896 status=pj_activesock_start_connect( 897 turn_sock->active_sock, 898 turn_sock->pool, 899 &info.server, 900 pj_sockaddr_get_len(&info.server)); 901 } else { 902 status = PJ_SUCCESS; 903 } 899 904 if (status == PJ_SUCCESS) { 900 905 on_connect_complete(turn_sock->active_sock, PJ_SUCCESS);
Note: See TracChangeset
for help on using the changeset viewer.