react-native-telnet-client
v1.0.6
Published
this is based on library node-telnet-client "https://www.npmjs.com/package/telnet-client". node-telnet-client is not support react-native, I just adapt it to react-native
Downloads
570
Maintainers
Readme
react-native-telnet-client
this is based on library node-telnet-client "https://www.npmjs.com/package/telnet-client".
node-telnet-client is not support react-native, I just adapt it to react-native
because node-telnet-client is based on nodejs, but react-native don't have nodejs environment, so I used some emulated lib in npm.
- bluebird
- buffer
- react-native-tcp-socket
- events
Getting started
$ npm install react-native-telnet-client --save
Usage
please check https://www.npmjs.com/package/telnet-client
Problem
when you use this lib, if you get error: [TypeError: null is not an object (evaluating 'Sockets.connect')];
this is because react-native-tcp-socket is not linked
please do followed steps:
npm install react-native-tcp-socket
npx react-native link react-native-tcp-socket