删除多连接内容,只支持单连接
This commit is contained in:
@@ -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
|
||||
|
||||
/*
|
||||
* 缓冲区大小配置
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user