8000 GitHub - vivitsu/arkanox: Learning async I/O in Rust
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vivitsu/arkanox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arkanox

Echo server and client in Rust using mio using an event loop

Issues

  • Client does not receive all messages back from server.

Fix was to read more than 16 bytes on each read (Long term this needs more robust handling, probably at a higher level than the main event loop).

  • Server crashes when client is killed (does not happen when using nc for example)

If there is unread data on client's socket and the client closes the connection, the server gets "Connection reset by peer" error. This killed the thread the connection was on, which for the server right now is the main thread.

About

Learning async I/O in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0