Fixed up return-value handling.

Performed some refactoring...

Fixed the strange event error... it was adding events to a dead socket.

Reformatted changlog

Added changelog

Fixed stack overflow issue. (Forgot to pop error/integer)

* Added some cheap protection code for failures in callback

* Completed mostly working version

* Adjusted licensing and added README.

Initial commit:

(0) +10 +100 tip

mercurial