Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting data while calling function client.on('data',.... ) #96

Open
nancyjainpanamax opened this issue Feb 8, 2019 · 1 comment

Comments

@nancyjainpanamax
Copy link

Hello,

I am not getting data coming from server in following code.
But I get the data in TcpSocket.js in _onData prototype.

 client.on('data', function(data) {
        console.log('Received finally: ' + data);
      client.destroy();// kill client after server's response
      });

So main issue is from TcpSocket.js, I am not getting returning value in my screen.js after connecting to server. Please help me.. I m new to react native and javascript.

@5115191
Copy link

5115191 commented Jul 14, 2020

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants