Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theelectronwill/niol

NIO Library for lightweight networking
https://github.com/theelectronwill/niol

buffer java-nio nio nio-library scala-library server tuubes

Last synced: about 1 month ago
JSON representation

NIO Library for lightweight networking

Awesome Lists containing this project

README

        

![logo: edelweiss rouge](logo.png)

# Niol

[![Build Status](https://img.shields.io/travis/com/TheElectronWill/niol?logo=travis)](https://travis-ci.com/TheElectronWill/niol)
[![Maven Central](https://img.shields.io/maven-central/v/com.electronwill/niol_2.13?logo=apache)](https://search.maven.org/search?q=g:com.electronwill%20AND%20a:niol*)
![Scala Versions](https://img.shields.io/badge/scala%20versions-2.12%20%7C%202.13-%23C22D40?logo=scala)

Niol is a NIO Library written in Scala and designed to make network programming easier.

## Runnable examples

Non-blocking TCP with Niol's `ScalableSelector`:
- [example in Scala](main/test/src/com/electronwill/niol/EchoServer.scala)
- [example in Java](main/test/src/com/electronwill/niol/JavaEchoServer.java) - yes, Niol can be used from Java as well!