ForumNokia comes along with the code to catch these connection breaks. The older version of this example missed this feature.
The CIAPConnectProgressNotifier class implements this.
iConnection.ProgressNotification(iProgress, iStatus);
SetActive();
if the connection breaks
void CIAPConnectProgressNotifier::RunL()
RunL will give the exact state of the connection.
Header File:
#include <Es_sock.h> Link against:
LIBRARY ESock.lib