Sending/receiving raw text over TCP sockets?

How would I go about making a Meteor web app that could connect to some TCP port on a server (not necessarily HTTP), and be able to send raw text as well as receive and parse text sent by the server, send a response, and so forth?

I found this package but I’m not sure if there’s a better way or not. Any guidance on this would be appreciated!

1 Like