The following example attaches socket.io to a plain Node.JS HTTP server listening on port 3000 . const server = require('http').createServer(); const io ...
確定! 回上一頁