Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gaocegege/scala-nio-server

a nio server example in scala
https://github.com/gaocegege/scala-nio-server

Last synced: 9 days ago
JSON representation

a nio server example in scala

Awesome Lists containing this project

README

        

# Scala Nio Server Example

This project serves [This article](http://gaocegege.com/Blog/network/select/).

In the project, I use java selector interface to implement a simple Nio Server.

## Use

Run the `src/main/scala/test/Server.Scala`, you run the server in localhost:1237.

Then run the `src/main/java/test/SocketClientExample.java`, you run a client connected to the server.