https://github.com/gaocegege/scala-nio-server
a nio server example in scala
https://github.com/gaocegege/scala-nio-server
Last synced: 2 months 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-06T15:48:30.000Z (over 9 years ago)
- Last Synced: 2025-02-08T15:48:09.103Z (4 months 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.