ChangxiaAir / Chatroom

This is a chatroom project.It has client and server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chatroom

This is a chatroom project.It has client and server.

If you want to know the specific implements about this project,you can read this blog

The simple chatroom : https://blog.csdn.net/alexwym/article/details/81223764

The chatroom using netty framework : https://blog.csdn.net/Alexwym/article/details/90047132

(If you don't want to read English introduction,you also can read this blog...)

一、Function This is a simple Chatroom.It support the most basic funtion that sends messages.

This project is appropriate for newcomers.After you figure out the implements of this project,you can add more funtions by yourself and design the UI for the Chatroom.

At first,I didn't want to publish this project to github because I think it is too simple.But so many people communicate me and want to get the codes.So now I publish it.

二、Project Architecture

image

1、server

This package has five java file.They implements the server of Chatroom.

2、client

This package just has one java file.It implements the client of Chatroom.

三、Runing Project

1、Runing server

image

2、Runing client

(If you don't know how to run two projects at the same time on the elipse,you can see this blog https://blog.csdn.net/it_zjyang/article/details/51323237)

image

3、input username and password

image

Here,You can change the default user and password

image

If you have any question, welcome to communicate me.Here is my qq:952877313.

About

This is a chatroom project.It has client and server.


Languages

Language:Java 100.0%