runtime-telnet-server

0.2.3 • Public • Published

runtime-telnet-server

Telnet server for runtimejs

Install:

npm install runtime-telnet-server

Usage:

// Note the '()', this starts the server.
var rtelnet = require('runtime-telnet-server')();
// OR
// All the parameters are optional
var rtelnet = require('runtime-telnet-server')([callback]);
// OR
var rtelnet = require('runtime-telnet-server')([options, [callback]]);

With no parameters, this listens on port 9000.

With callback:

var rtelnet = require('runtime-telnet-server')(function() {
  // Do what you want
});

Options:

  • port, default is 9000
var rtelnet - require('runtime-telnet-server')({
  port: 9090, // this is optional
});

Client Usage:

This assumes you're on Unix. Windows, you're on your own (maybe use PuTTY?).

telnet your.host.ip.here (custom port or default 9000 port)

NOTES:

The port used (default is 9000) must be free and usable, on both QEMU and the host. Tested and working with the Unix telnet client. Yay! Just type in commands like the runtime shell.

Package Sidebar

Install

npm i runtime-telnet-server

Weekly Downloads

0

Version

0.2.3

License

MIT

Last publish

Collaborators

  • facekapow