Skip to content

jiancao-yajc/NIO-Server

Repository files navigation

1. Use AsynchronousSocketChannel to implement a TCP server.
2. Create a TCP server containing a UDP server using the same port.
3. TCP server is used to store the application information like use counts.
4. TCP server uses atomicinteger to add counts.
5. UDP server is used to return the applcation information stored in the TCP sever.
6. UDP using the custom format to send and receive data.
7. Both tcp message and udp message use factory methods to create. 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages