修复端口绑定取消异常

This commit is contained in:
2026-01-29 14:03:43 +08:00
parent 3673b10942
commit 674f611d07
4 changed files with 30 additions and 8 deletions

View File

@ -1,6 +1,9 @@
#ifndef NETWORK
#define NETWORK
#define POOL_ON 1
#define SERVER_ON 2
#define ALL_STOP 0
#include <pthread.h>
#include "tools/log/log.h"
@ -36,6 +39,7 @@ typedef struct network_manager//网络管理器
int port;
int epoll_fd;
int http_fd;
int statue;
}netm;
typedef struct rebot_message