I need to write a UDP echo server in Node.js, but I'm having trouble parsing the available tutorial, could use some expert help.
Thing is, I'm a total Node.js noob - this is my first time using it. I come from a PHP background. A very kind person has already solved my problem in PHP and posted it here
on the web.
This works perfectly, whatever I send gets echoed back to me with an OK, making it easy for the client to confirm receipt of the datagram.
The only tutorial for Node.js that comes close is this one
, but I can't figure out how to make the server echo what it receives back to the client, or how to make the client display that echo.
Help me socket jockeys, you're my only hope.
By the way, I can add any module you like, and already have socket.io, so that's the environment I'm in.