tanaytoshniwal / Chat-Java

:thought_balloon: :speech_balloon: A two way chat program written in JAVA using Networking and Socket Programming.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat-Java

A two way chat program written in JAVA using Networking. There are Two Parts of this Repo:

  • One that runs on terminal
  • Another one is a GUI application

NonGUI Application

Just clone this repo and go to the NonGUI folder. Compile all the java files

  $ javac *.java

and run the DemoServer.java file first in one terminal window

  $ java DemoServer

and then run the DemoClient.java file in another terminal window

  $ java DemoClient

now you can type messages from both terminal window...

just type quit to exit

Demo:

GUI application

Just clone this repo and go to the GUI folder. Compile all the java files

  $ javac *.java

and run the Server.java file first

  $ java Server

and then run the Client.java file

  $ java Client

now you can chat from the frames that shows up...

just close the frames to exit

Demo:

Note-The connection will be hosted on port number 99

<> with ♥ by Tanay Toshniwal©

About

:thought_balloon: :speech_balloon: A two way chat program written in JAVA using Networking and Socket Programming.

License:MIT License


Languages

Language:Java 100.0%