'Java sockets I/O: blocking, non-blocking and asynchronous' article and source code
-
Updated
May 22, 2024 - Java
'Java sockets I/O: blocking, non-blocking and asynchronous' article and source code
Asynchronous socket (client+server) continues communications
Java SocketChannel wrapper library for one-to-one connections
Non-blocking implementations of server using java.nio selectors: single and thread pooled.
解锁网络编程之 NIO 的前世今生,语雀浏览链接:https://www.yuque.com/happyflyer/java-topics/bov6w0
Blocking implementations of server using java.nio: single thread.
Passtime-Server is a Java-based server application that logs and processes client queries regarding elapsed time. The server handles multiple clients concurrently using non-blocking I/O and multiplexing of socket channels. Clients can log in, request elapsed time information for given date ranges, and log out. Configuration is provided via a YAML
Asynchronous socket (client+server) continues communications
Add a description, image, and links to the socketchannel topic page so that developers can more easily learn about it.
To associate your repository with the socketchannel topic, visit your repo's landing page and select "manage topics."