In your command-line run the command: brew update
- In your command-line run the command:
brew install postgresql
In your command-line run the command: brew update
brew install postgresql
const Net = require('net'); | |
// Server is actually this client | |
const Server = Net.connect({host: 'localhost', port: 6969}, function() { | |
process.stdin.setEncoding('utf8'); | |
Server.setEncoding('utf8'); | |
process.stdout.write('SGNL: '); | |
process.stdin.on('data', function(data) { | |
Server.write(data); |