Re: GUPnP client invocations and timeout
- From: Sven Neumann <s neumann raumfeld com>
- To: Branislav Katreniak <branislav katreniak streamunlimited com>
- Cc: gupnp-list gnome org
- Subject: Re: GUPnP client invocations and timeout
- Date: Mon, 23 Jan 2012 16:48:30 +0100
On Mon, 2012-01-23 at 14:45 +0100, Branislav Katreniak wrote:
> We are using gupnp client in asynchronous mode.
> We would like to set timeout for the invocations.
> If the server does not reply within the specified timeout (e.g. 15s),
> we want to:
> * cancel the soup session
> * generate error to gupnp client code
>
> Is there any support for such feature?
> Do you have any advise how to implement them?
You could install a timeout whenever you begin an action and if the
timeout expires before the action returned, your timeout would cancel
the action and raise an error.
Regards,
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]