We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is an error in the code to start a server. https://github.com/Rapsssito/react-native-tcp-socket#server
const server = TcpSocket.createServer(function(socket) { socket.on('data', (data) => { socket.write('Echo server', data); }); socket.on('error', (error) => { console.log('An error ocurred with client socket ', error); }); socket.on('close', (error) => { console.log('Closed connection with ', socket.address()); }); }).listen(12345, '0.0.0.0'); // here // listen({ port: 12345, host: '0.0.0.0' }); // right
This is why #57 appears.
The text was updated successfully, but these errors were encountered:
@liran, thanks! You are right, I will fix it right now.
Sorry, something went wrong.
d0dcd5b
chore(release): 4.5.1 [skip ci]
edfb9c7
## [4.5.1](v4.5.0...v4.5.1) (2020-09-12) ### Bug Fixes * Fix TCPServer documentation ([d0dcd5b](d0dcd5b)), closes [#79](#79) [#57](#57)
🎉 This issue has been resolved in version 4.5.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
No branches or pull requests
There is an error in the code to start a server.
https://github.com/Rapsssito/react-native-tcp-socket#server
This is why #57 appears.
The text was updated successfully, but these errors were encountered: