Add and use the sendData method which will automatically break long data (longer than 0x1fff bytes) into different stream requests.
This commit is contained in:
@@ -153,7 +153,7 @@ class Telnet {
|
||||
*
|
||||
*/
|
||||
sendData(data) {
|
||||
return this.sender.send(0x00, data);
|
||||
return this.sender.sendData(0x00, data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user