The next few posts will relate to gnutls, an Open Source library designed to form encrypted SSL/TLS connections (similar to OpenSSL, but with more open licenses). The library does not have the best documentation, so this will largely serve as an example of useful techniques and processes for working with such code.
Before we begin,
When we work in C, we have two basic file types: code and headers. Guess which one is supposed to contain our code?
This will be a bit of a longer section, because I couldn't think of a fun way to write the code otherwise. Bonus!
A structure is a data element defined by the programmer which contains several member data elements. We define these structures to allow ourselves to handle a set of related data much more