electron/spec/fixtures/module/create_socket.js

5 lines
131 B
JavaScript
Raw Permalink Normal View History

const net = require('node:net');
2020-03-20 14:28:31 -06:00
const server = net.createServer(function () {});
server.listen(process.argv[2]);
process.exit(0);