uNetworking / uWebSockets.js

μWebSockets for Node.js back-ends :metal:
Apache License 2.0
7.65k stars 560 forks source link

listen_unix no working #1045

Open rockey2020 opened 2 months ago

rockey2020 commented 2 months ago
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