Skip to content

Command Line Chat Application Made Using Socket Utility

Notifications You must be signed in to change notification settings

heshanthenura/cliChat-releases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Command Line Chat Application

Command Line Chat Application Made Using Socket Utility

I know there are lots of apps that are more efficient and easy to use. But I created this as a hobby project. You can create a Server and Client to communicate. The Server is made with Java and client made with Go. My Kind Request


Table of Content
  1. Installation
  2. Execution
  3. Usage
  4. Commands
  5. Kind Request

1.Installation

If you are using LINUX you can download files from here. If you are using WINDOWS you can download files from here.

2.Execution

Windows


go to the directory where downloaded file are located and open CMD or POWERSHELL in that location run the app using cliChat-server.exe or cliChat-client.exe

Linux


go to the directory where downloaded file are located and open TERMINAL in that location run the app using ./cliChat-server or ./cliChat-client.exe

3.Usage

Usage is same for any OS

First Run Server Application using ./cliChat-server(Linux) or ./cliChat-server(Windows)

  • Then it will ask port number to run the Server

port


  • If you see message Server Started on PORT <port>. Your server started successfully

succsess


Then Run Client Application using ./cliChat-client(Linux) or ./cliChat-client.exe(Windows)

  • You should enter a NickName first

nickanme


  • Then it will ask for the Address of server to connect

address


  • If there are no any Error you can see Connected to Server <address>

csucces


  • Server also can see your connectivity

connectivity


  • Now you can send messages by just typing on console.

mfm


  • Server can see your Message

sm


  • Other connected users also can see your messages

oum

  • When You Disconnects other Users and Server can see you disconnection

dc


That how you should use this application.

4.Commands

  1. /count - Find number of users in the Server
  2. /chg <new name> - Change NickName ex:- /chg Elon

5.Kind Request

Test my app, find bugs and report. This is not my my final app. I want to invent another useful application using this concept. Suggest me what commands should I implement and what are other changes that I should do.