Skip to content

Simple Chatserver using Java Sockets

Notifications You must be signed in to change notification settings

Cacaonut/chatserver

Repository files navigation

Chatserver

Simple Chatserver using Java Sockets

Prerequisites

Download Java: https://www.java.com/de/download/win10.jsp
Download BlueJ: https://www.bluej.org/

NOTE: During development JetBrains IntelliJ Ultimate Edition was used. Therefore cloning this repository will most likely not work with other IDEs but the source code may be used nonetheless.

Classes

Server: Click here...
Client: Click here...

Usage with other IDE than BlueJ

To use this project in other IDEs than BlueJ you'll need a main method like seen in Test.java.

Following code may be used to instantiate a server on localhost:555 and a client and connect them:

new Thread(() -> {
    new Server(555);
}).start();

Client client = new Client();
client.startConnection("127.0.0.1", 555);

About

Simple Chatserver using Java Sockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages