i'm looking for a code which works on React Native to use Sockets. I found this page https://www.npmjs.com/package/react-native-sockets where is explained all steps to follow. I need to make a client, who sends messages to an IP address in a specific port. I wrote the code, following this guide, but despite i follow all steps, compiler give me a problem when i call the function Sockets.startClient(config); The error is "null is not an object". Anyone could help me?
↧