This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/examples/node/libzt.js

14 lines
285 B
JavaScript
Raw Normal View History

2017-06-28 09:35:11 -07:00
var nbind = require('nbind')
var ZT = nbind.init().lib.ZT
module.exports = {
accept: ZT.accept,
bindPort: ZT.bind,
getDeviceId: ZT.getDeviceId,
getIpV4Address: ZT.getIpV4Address,
listen: ZT.listen,
running: ZT.running,
simpleStart: ZT.simpleStart,
socket: ZT.socket
}