删除多连接内容,只支持单连接

This commit is contained in:
2026-08-25 12:41:33 +08:00
parent d92b086c5b
commit 319d00e3e5
10 changed files with 109 additions and 507 deletions
-8
View File
@@ -30,14 +30,6 @@ extern "C" {
#define NET_TCP_SERVER_LISTEN_SOCK 0 /* 监听 Socket 索引 */
#endif
#ifndef NET_TCP_SERVER_DATA_SOCK_START
#define NET_TCP_SERVER_DATA_SOCK_START 1 /* 数据 Socket 起始索引 */
#endif
#ifndef NET_TCP_SERVER_MAX_CLIENTS
#define NET_TCP_SERVER_MAX_CLIENTS 7 /* 最大客户端数(1~7) */
#endif
/*
* 缓冲区大小配置
*/