I want to create a TCP socket in React Native, connect to a telnet server with port of 23.
I found there has 'RCTWebSocket', but it seems only support http, https, ws, wss protocols, and always occurred error when remote response.
Is there a way to use TCP Socket which not only for http, ws protocols ?
You could try native objective c tcp socket with a js interface. Look for "extension " in the react native github page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With