Socket
Book a DemoInstallSign in
Socket

relay-tcp-server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

relay-tcp-server

TCP Server

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Relay TCP Server

A small module to start and stop a TCP server. The server waits for two clients and relays data from first client to second client. The relay stops as soon as any of the client disconnects.

Installation

npm install relay-tcp-server

Usage

var tcp_server = require('relay-tcp-server') // start server = tcp_server.start(8001) // stop server.stop()

Tests

npm test

Release History

  • 0.1.0 Initial release

FAQs

Package last updated on 21 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts