listen_unix no working
rockey2020 opened this issue · 0 comments
rockey2020 commented
const app = App();
app.listen_unix((token) => {
if (!token) {
reject(`failed to listen on port ${sockPath}`);
console.log(`WebSocket 服务器已关闭, 通信地址: ${sockPath}`);
return;
}
console.log(`WebSocket 服务器已启动, 通信地址: ${sockPath}`);
return resolve1({ webSocketServer, getLocalAddress });
}, sockPath);
After executing the code, there is no message