Сообщение от Ctemmm9999
|
Через TCP
|
Пример такого клиента...
const net = require('net');
const client = new net.Socket();
const port = 7070;
const host = '127.0.0.1';
client.connect(port, host, function() {
console.log('Connected');
client.write("Hello From Client " + client.address().address);
});
https://www.8host.com/blog/razrabotk...-ubuntu-16-04/
Порт и адрес подставляй свои...