Lambda - net module for low level networking
Options
EnergyTechPro
Member ✭
Hi everyone,
I was pleased to see the most recent update on 18 January includes support for the net module when using Lambda expressions.
Im trying to connect to a remote TCP socket, write some data and get the response. Would it be possible to use the net module in this way?
As a minimum I want to prove it can connect to the server and return true, and if it fails to connect then return false.
const client = new net.Socket();
client.connect(3456, 'server.net', () => {
return true;
});
return false;
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback