0.0.1 • Published 7 years ago

netchat v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

netchat

Simple chat server over TCP in Node.js

Install

npm i -g netchat

Usage

$ netchat --help

  Simple chat server over TCP

  Usage
    $ netchat server [options]

  Options
    --port, -p Port to run net server

  Examples
    Run chat server:
    $ netchat server -p 3000

    Connect to chat server over netcat from anywhere:
    $ nc <server ip or domain> 3000

Running chat server

$ netchat server -p 3000
TCP server running on port 3000

Connecting to chat server using netcat from anywhere

nc <server ip address> <port>

Demo

$ nc netchat.moogs.io 2424

Enter username: moogs
You are now moogs
> yo!
> bot joined the chat
> bot: hello!
>

License

MIT