TcpServer/TcpReactor Framework

This commit is contained in:
2026-09-08 10:35:16 +08:00
parent 4711ab6603
commit ac4045a979
23 changed files with 1831 additions and 20 deletions
+6
View File
@@ -49,6 +49,11 @@
#include <ctype.h>
#endif /*INCLUDED_CTYPE_H*/
#ifndef INCLUDED_ASSERT_H
#define INCLUDED_ASSERT_H
#include <assert.h>
#endif /*INCLUDED_ASSERT_H*/
/* ------------------------------------------------------------------------------------------------------------------ */
@@ -113,6 +118,7 @@ typedef int c_err_t;
#define C_ERR_EMPTY (-5)
#define C_ERR_FULL (-6)
#define C_ERR_EXIST (-7)
#define C_ERR_CLOSED (-8)
#define C_SUCCESS C_ERR_OK
#define C_ERR_NOTFOUND C_ERR_FAIL