IP*Works! 2016 Node.js Edition
IP*Works! 2016 Node.js Edition
Questions / Feedback?

SubOption Event

Fired when a Telnet SubOption command comes from the Telnet server.

Syntax

telnet.on('SubOption', [callback])

Callback

The 'callback' is called when the 'SubOption' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.subOption (buffer)

Remarks

The SubOption parameter contains the suboption data as sent by the other end. The enclosing suboption command codes are stripped away.

For a list of valid Telnet suboptions and their descriptions please look at the Telnet RFCs.

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
IP*Works! 2016 Node.js Edition - Version 16.0 [Build 7239]