n-riesco / node-echo

A proof-of-concept implementation of a node.js echo server and client using child_process

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Installation

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:

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.:

node-echo
Hello, World!
Hello, World!

Press CTRL-C to kill both the echo client and its server.

About

A proof-of-concept implementation of a node.js echo server and client using child_process

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 100.0%