Major Update:

- Implemented global var DebugLevel
- Update LogCore to check DebugLevel
- Added many log messages and standadised all log messages
- Further improved validation checks on all methods
- Updated SelectCore, only remove SelectHandle from list during Test()
- Close Handles in SelectableCore destructor
Bug fixes:
- Non-blocking Client Socket Connection now working correctly
- Remove FD from Select lists at the correct time
This commit is contained in:
Charl Wentzel
2016-05-26 15:03:13 +02:00
parent 9ace97c1a3
commit c01c8f5e9b
8 changed files with 532 additions and 235 deletions

View File

@@ -25,9 +25,13 @@ const short
//---------------------------------------------------------------------------
bool LogMessage( const char * Heading, const char * Message );
typedef enum { dlNone = 0, dlLow = 1, dlMedium = 2, dlHigh = 3 } EDebugLevel;
bool ShowOutput( const char * Heading, const short Show, const char * Buffer, int Len = -1 );
//---------------------------------------------------------------------------
bool LogMessage( const char * Heading, EDebugLevel Level, const char * Message );
bool ShowOutput( const char * Heading, EDebugLevel Level, const short Show, const char * Buffer, int Len = -1 );
//---------------------------------------------------------------------------