tcp-chat-server
v1.0.10
Published
It's a simple tcp chat client and server built with node's net module
Downloads
8
Maintainers
Readme
TCP chat server and client
This is a simple TCP chat app that can either host a chat or connect to another chat server.
Install it globally using
npm i -g tcp-chat-server
Options
| command | default | usage | | :-------: | :-------: | :------------------------------------------------------------------: | | --serve | none | This flag is used to host a chat server | | --connect | none | This flag is used to connect to a chat server | | --host | 127.0.0.1 | This flag is used to specify the host to connect | | --port | 4000 | This flag is used to specify the port to host a server or to connect |
Example
tcp-chat --serve --port 5000