Read a TCP port

Hello everybody.
I need to read the data received in Wifi so, if I understood correctly, on a TCP port.
Has anyone done this before, and if so, what should I be looking for?

Hi, as Meteor apps are Node.js apps you could use bare packages like net to do things like:

const server = net.createServer();

server.on('connection', function (socket) {
    console.log('new connetion');

socket.on('data', function (data) {

server.on('error', function (err) {
  console.error('Error: ', err);

server.on('close', function () {

Are you having specific challenges?

I will study this way

Are you referring to the server connected in wifi (?) Or the client connected in wifi?