change status signal place

This commit is contained in:
springzfx
2020-05-30 01:59:24 +08:00
parent dfc688b5e5
commit 34e5d81329
4 changed files with 11 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ public:
int sfd = -1, cfd = -1, flag = -1;
struct sockaddr_un unix_socket;
void socketListening(function<int(char *)> callback);
void socketListening(function<int(char *)> callback, promise<void> status);
~SocketServer();
};