On Monday 23 January 2006 23:11, Rich Fought wrote: > Hello, > Is 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 _______________________________________________ Help-gnutls mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnutls
