merge-requests/4/head
Matthew 2021-04-19 23:54:02 -04:00
parent f3ccfe11cd
commit 77e4fb91a3
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 10 additions and 0 deletions

View File

@ -32,6 +32,16 @@ export default class CSCLI {
} }
}); });
}); });
this.servers.unix = net.createServer((socket) => {
socket.on('data', async (data) => {
try {
await this.unixHandle(socket, data);
} catch (err) {
await this.client.util.handleError(err);
socket.destroy();
}
});
});
this.init(); this.init();
} }