Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gaocegege/scala-nio-server
- Owner: gaocegege
- Created: 2015-09-04T13:39:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-06T15:48:30.000Z (about 9 years ago)
- Last Synced: 2024-10-13T15:55:51.813Z (24 days ago)
- Language: Scala
- Size: 145 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.