修复端口绑定取消异常
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user