uci-websocket/test/sockets/usocket-default.js

12 lines
222 B
JavaScript

import { Socket } from '../../src'
let socket = new Socket({path:true,name:'default-unix-socket'})
;
(async () => {
await socket.create()
})().catch(err => {
console.error('FATAL: UNABLE TO START SYSTEM!\n',err)
})