[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnutls_record_recv() hangs
From: |
Dinh Le |
Subject: |
Re: gnutls_record_recv() hangs |
Date: |
Mon, 15 Aug 2011 21:09:28 -0700 (PDT) |
User-agent: |
Alpine 1.00 (LFD 882 2007-12-20) |
Thank you Sam for the insightful reply. Now I understand why the imap
protocol wants all requests to begin with some symbol (name-value) that
can be incremented so that the responses can be paired easier with the
corresponding requests on the client side.
Using select() seems to make the solution much more complicated than it
should. Some web servers simply fork(), read, buffer, process, write, and
repeat. Wow, this method is cleaner but can be much more expensive.
OK, I will have to experiment and read further.
Thank you all.
Dinh