This is a test program to use tokio in rust: a echo server and a client The AsynServer is a rust program that receives messages from the client, using splitted I/O. When its reader task receives a message from client, it sends the message to the writer thread through channel, then the writer send the message back to the client. The AsynClient sends a message to the server and receives the echo from the server in a seperate task.
-
Notifications
You must be signed in to change notification settings - Fork 0
gudengxia/AsynNetwork
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
This is a test program to use tokio in rust: a echo server and a client
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published