Error codes

All of the events (except OnSocketTimeout) receives an error code.

 

If it's zero then no error.

If it has value then it's win32 error code.