Coders Packet

Broadcasting a server for chatting in Java

By Yash Parsaniya

This is chatting application designed in Java. Multiple clients can chat on the same server.

I have created two main classes in this package. 

A. Server class : 

This class just simply hosts a server where one or more clients can chat. This server allows client to send and recieve messages from other clients. This messages are stored in server as well.


B. Client class : This is a client class where one or more clients can be created. The messages are declared from this class and which further passes to Server class.


 Procedure to run this code:

1. First you need to run this file. You can run it through either command prompt or any ide you prefer.

2. Then you can just simply click on the MyClient.jar file. You can create multiple clients by clicking multiple times this file.


Download Complete Code


No comments yet

Download Packet

Reviews Report

Submitted by Yash Parsaniya (YashParsaniya)

Download packets of source code on Coders Packet