luasec/samples
Bruno Silvestre 67e5176b6b LuaSec 0.4
2012-09-02 11:32:26 -03:00
..
certs LuaSec 0.3 2012-09-02 11:22:22 -03:00
key LuaSec 0.3 2012-09-02 11:22:22 -03:00
loop LuaSec 0.2 2012-09-02 11:15:49 -03:00
loop-gc LuaSec 0.2 2012-09-02 11:15:49 -03:00
oneshot LuaSec 0.2 2012-09-02 11:15:49 -03:00
want LuaSec 0.2 2012-09-02 11:15:49 -03:00
wantread LuaSec 0.2 2012-09-02 11:15:49 -03:00
wantwrite LuaSec 0.2 2012-09-02 11:15:49 -03:00
README LuaSec 0.4 2012-09-02 11:32:26 -03:00

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.