Skip to content
Branch: master
Find file History
Latest commit 476d3dd Oct 22, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
include
src
CMakeLists.txt
Cargo.toml
NOTICE.md added README for catnip & copyright notices. Oct 21, 2019
README.md
astrocat-small.jpg added README for catnip & copyright notices. Oct 21, 2019

README.md

catnip

catnip is a TCP/IP stack written in Rust that focuses on being an embeddable, low-latency solution for user-space networking.

features

  • low-latency
  • fully deterministic
  • built with coroutines (instead of explicit state machines)
  • polling async/await with declarative retry policies
let ack_segment = r#await!(
    TcpPeerState::handshake(state.clone(), cxn.clone()),
    rt.now(),
    Retry::binary_exponential(
        options.tcp.handshake_timeout,
        options.tcp.handshake_retries
    )
)?;
  • embeddable
  • C/C++ interoperability

usage statement

catnip is prototype code. As such, we provide no guarantees that it will work and you are assuming any risks with using the code. We welcome comments and feedback. Please send any questions or comments to irene dot zhang at microsoft dot com or mirobert at microsoft dot com. By sending feedback, you are consenting to your feedback being used in the further development of this project.

You can’t perform that action at this time.