|
From: | Rich Fought |
Subject: | Re: [Help-gnutls] gnutls_record_check_pending |
Date: | Tue, 24 Jan 2006 15:05:03 -0600 |
User-agent: | Thunderbird 1.5 (Windows/20051201) |
Nikos Mavrogiannopoulos wrote:
So the data does not get moved from the TCP buffers to the gnutls buffers untilIs it possible to use gnutls_record_check_pending to determine if gnutls_record_recv should be called? I am trying it currently and always get zero ... even when I know that data is being sent from the remote client.The purpose of gnutls_record_check_pending is to check if there are data in the gnutls buffers. It will not check the TCP buffers.You can check TCP buffers using select() and then call gnutls_record_recv() in a non-blocking way.regards, Nikos
gnutls_record_recv() is called? Rich
[Prev in Thread] | Current Thread | [Next in Thread] |