At Wed, 16 Jun 2010 19:33:32 +0300, Jukka Rissanen wrote: > > On 16 June 2010 16:58, Neal H. Walfield <n...@walfield.org> wrote: > > Hi, > > > > Currently, I figure out when a network connection is disconnecting by > > listening for ICD_DBUS_API_STATE_SIG signals and checking if the > > network connection status is ICD_STATE_DISCONNECTING. When this > > happens, I send an ICD_DBUS_API_STATISTICS_REQ to ICD2 specifying the > > disconnecting network connection. I get a reply that indicates that I > > should see an ICD_DBUS_API_STATISTICS_SIG signal (one argument, value > > 1). I don't see any statistics, however. > > Reason is that when DISCONNECTING signal is sent, there is very little > time to do anything before the connection is disconnected. So I > suspect that the connection was disconnected before the signal was > sent.
Except that, as I said, the reply to my ICD_DBUS_API_STATISTICS_REQ indicates that one ICD_DBUS_API_STATISTICS_SIG signal was sent. If, when ICD2 gets my request and it sends no signals, then it should reply with a value of 0. Thanks, Neal _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers