samples/README

Sun, 03 Jul 2011 13:13:36 -0700

author
Paul Aurich <paul@darkrain42.org>
date
Sun, 03 Jul 2011 13:13:36 -0700
changeset 41
e26f1f91118a
parent 0
f7d2d78eb424
permissions
-rw-r--r--

Fix the verification function so it doesn't pass for everyone on invalid purpose errors.

Inspiration and code partially from Matthew

Directories: 
------------
* certs
 Contains scripts to generate the certificates used by the examples.
 Generate Root CA 'A' and 'B' first, then the servers and clients.

* oneshot
 A simple connection example.

* loop
 Test successive connections between the server and the client 
 (to check memory leak).

* loop-gc
 Same of above,  but the connection is not  explicit closed, the gabage
 collector is encharge of that.

* wantread
 Test timeout in handshake() and receive().

* wantwrite
 Test timeout in send().

* want
 Test want().

* key
 Test encrypted private key.

mercurial