Skip to content

RayLabz/Mocha-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mocha

A lightweight, multi-threaded, client-server library for Java

Mocha is a lightweight, multi-threaded client-server library for Java. It enables the quick creation of multi-client, multi-port TCP and UDP clients and servers with minimal overhead. Mocha allows you to quickly set up and run TCP and UDP servers as well as TCP, UDP, and WebSocket clients. By using Mocha, you can avoid dealing with low-level networking technologies and protocols, instead concentrating on business logic of your server.

Guide

View the guide to learn how Mocha works and how to use it:

View the guide

Download and import

You can import Mocha using Maven, Gradle or by downloading it as a .jar file:

Maven:

<dependency>
  <groupId>com.raylabz</groupId>
  <artifactId>mocha</artifactId>
  <version>1.0.5</version>
</dependency>

Gradle:

implementation 'com.raylabz:mocha:1.0.5'

Download as .jar file:

Download - (~25MB)

Documentation

View the documentation

License

Mocha is release under the MIT license.

Releases

No releases published

Packages

No packages published

Languages