mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:23:28 +02:00
Clean up structure a little bit for initial testing.
This commit is contained in:
10
lib/units/device/plugins/vnc/util/example.js
Normal file
10
lib/units/device/plugins/vnc/util/example.js
Normal file
@@ -0,0 +1,10 @@
|
||||
var net = require('net')
|
||||
var VncServer = require('./server')
|
||||
|
||||
var nserv = net.createServer({
|
||||
allowHalfOpen: true
|
||||
})
|
||||
|
||||
var vserv = new VncServer(nserv)
|
||||
|
||||
nserv.listen(5910)
|
||||
Reference in New Issue
Block a user