Changes between Version 11 and Version 12 of Symbian_AP_Reconnection
- Timestamp:
- Mar 2, 2009 3:35:21 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Symbian_AP_Reconnection
v11 v12 191 191 }; 192 192 193 }}} 194 193 195 What the code in {{{RunL()}}} above does is it shuts down PJSIP when the connection is down, ask user to reconnect by showing up the access point dialog, and (re)start the application. 194 196 195 197 The '''{{{pj_symbianos_set_connection_status()}}}''' API was added in PJSIP version 1.0.2/1.1. This function is used to tell PJLIB that it should not access any socket calls anymore since the connection has been down. Without this function, Symbian will pop up the access point selection dialog again in {{{pjsua_destroy()}}}, and if the user selects different access point then it will cause the socket to block indefinitely in {{{WaitForRequest()}}}. 196 197 }}}198 198 199 199