mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 13:43:12 +00:00
Watch new monitor client connections
This commit is contained in:
parent
0ca4c16f39
commit
64559bdca9
@ -340,6 +340,8 @@ static void monitor_new_client(int s) {
|
|||||||
fcntl(monitor_named_socket,F_SETFL,
|
fcntl(monitor_named_socket,F_SETFL,
|
||||||
fcntl(monitor_named_socket, F_GETFL, NULL)|O_NONBLOCK);
|
fcntl(monitor_named_socket, F_GETFL, NULL)|O_NONBLOCK);
|
||||||
|
|
||||||
|
fd_watch(s, monitor_client_poll, POLL_IN);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
Loading…
Reference in New Issue
Block a user