Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 818 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 818 Bytes

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