On Tue, Apr 28, 2015 at 11:20 AM, Yury Shvedov
<[email protected]> wrote:
> Hi,
> I have an event-drivent system, based on libevent and extended with my own
> API and functionality. I'm trying to use gnutls to protect my channels with
> DTLS, but I'm confused with pull_timeout_function
> (http://gnutls.org/manual/html_node/Setting-up-the-transport-layer.html). I
> want to use my own asynchronous timers to tell gnutls about timeouts, but
> pull_timeout_function make to use select.
> Is there any way to get round this legally?

If you are using your own event handling, wouldn't asynchronous
operation be more suitable? In that case gnutls will not call the
pull_timeout function.
http://gnutls.org/manual/html_node/Asynchronous-operation.html#Asynchronous-operation

_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to