https://github.com/n-riesco/node-echo
A proof-of-concept implementation of a node.js echo server and client using child_process
https://github.com/n-riesco/node-echo
Last synced: 2 months ago
JSON representation
A proof-of-concept implementation of a node.js echo server and client using child_process
- Host: GitHub
- URL: https://github.com/n-riesco/node-echo
- Owner: n-riesco
- License: bsd-3-clause
- Created: 2015-02-05T11:31:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-05T11:40:18.000Z (over 10 years ago)
- Last Synced: 2025-02-14T14:18:57.271Z (4 months ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Proof-of-Concept Implementation of a `node.js` Echo Server and Client using `child_process`
This proof-of-concept was motivated by my research into techniques to run a
`node.js` session within
[IJavascript](https://github.com/n-riesco/ijavascript.git).## Installation
```sh
git clone https://github.com/n-riesco/node-echo.git
npm install node-echo
```## Usage
To start up the echo client and server, type in the terminal:
```sh
node-echo
```Every line type in the terminal is read by the client, then sent to the server.
The echo server replies back using the same line. The client prints out every
response sent by the server. E.g.:```sh
node-echo
Hello, World!
Hello, World!
```Press CTRL-C to kill both the echo client and its server.