Unclassified IWeb error | developer.brewmp.com Unclassified IWeb error | developer.brewmp.com

Developer

Unclassified IWeb error

Forums:

In my application I send a request via IWEB_GetResponse.
and process the response reading IWEBRESP_GetInfo.

Usually everything works fine and response code is OK of falls in the following range WEB_ERROR_BASE ... WEB_ERROR_SSL.
However, sometimes I got 554[=Black] error code (hex) and I get any BREW description of this code.
Did anybody encounter the same problem?
Any ideas?
Thanxx!

My guess would be that it's actually a decimal 554, which would be
#define AEE_NET_ENETNONET (NET_ERROR_BASE+0x2A) // network subsystem unavailable

My guess would be that it's actually a decimal 554, which would be
#define AEE_NET_ENETNONET (NET_ERROR_BASE+0x2A) // network subsystem unavailable

Thank you very much!!!
This is exactly what I overlooked...
Is there any way to subscribe for such an event as "network subsystem unavailable"?
I tried ISHELL_RegisterNotify(pMe->m_pIShell, AEECLSID_MYAPP, AEECLSID_NET, 0xFFFFFFFF );
ISHELL_RegisterNotify(pMe->m_pIShell, AEECLSID_MYAPP, AEECLSID_SOCKET, 0xFFFFFFFF );
ISHELL_RegisterNotify(pMe->m_pIShell, AEECLSID_MYAPP, AEECLSID_WEB, 0xFFFFFFFF );
ISHELL_RegisterNotify(pMe->m_pIShell, AEECLSID_MYAPP, AEECLSID_WEBRESP, 0xFFFFFFFF );
Though my application receives from time to time EVT_NOTIFY events, none of them are generated by any of classes mentioned above.
Below is a template how I catch events
case EVT_NOTIFY:
{
AEENotify* notify = (AEENotify*) dwParam;
if (AEECLSID_NET == notify->cls)
{
//processing...
}
...
}
The question is: am I using right approach to check network availability or should I use smth quite different instead of ISHELL_RegisterNotify?

Thank you very much!!!
This is exactly what I overlooked...
Is there any way to subscribe for such an event as "network subsystem unavailable"?
I tried ISHELL_RegisterNotify(pMe->m_pIShell, AEECLSID_MYAPP, AEECLSID_NET, 0xFFFFFFFF );
ISHELL_RegisterNotify(pMe->m_pIShell, AEECLSID_MYAPP, AEECLSID_SOCKET, 0xFFFFFFFF );
ISHELL_RegisterNotify(pMe->m_pIShell, AEECLSID_MYAPP, AEECLSID_WEB, 0xFFFFFFFF );
ISHELL_RegisterNotify(pMe->m_pIShell, AEECLSID_MYAPP, AEECLSID_WEBRESP, 0xFFFFFFFF );
Though my application receives from time to time EVT_NOTIFY events, none of them are generated by any of classes mentioned above.
Below is a template how I catch events
case EVT_NOTIFY:
{
AEENotify* notify = (AEENotify*) dwParam;
if (AEECLSID_NET == notify->cls)
{
//processing...
}
...
}
The question is: am I using right approach to check network availability or should I use smth quite different instead of ISHELL_RegisterNotify?

Is there a way to get notification when network status changes?
Please help!!!

Is there a way to get notification when network status changes?
Please help!!!

Register against AEECLSID_TAPI

Register against AEECLSID_TAPI

I did and I got events via EVT_NOTIFY, e.g. "data call ended" etc.
But how is it connected with network inavailability and how using this info I can find out the right moment for sending another request?
What I need is to be sure that network is available before issuing a request...
Thanks!

I did and I got events via EVT_NOTIFY, e.g. "data call ended" etc.
But how is it connected with network inavailability and how using this info I can find out the right moment for sending another request?
What I need is to be sure that network is available before issuing a request...
Thanks!

anyone?
thanks

anyone?
thanks