Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: smoltcp-rs/smoltcp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 14355e15d0b0
Choose a base ref
...
head repository: smoltcp-rs/smoltcp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a04b32441bf4
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Sep 15, 2017

  1. Fix warnings.

    whitequark committed Sep 15, 2017
    Copy the full SHA
    c5deacb View commit details

Commits on Sep 16, 2017

  1. Implement TCP keep-alive.

    whitequark committed Sep 16, 2017
    Copy the full SHA
    a04b324 View commit details
Showing with 191 additions and 42 deletions.
  1. +1 −1 README.md
  2. +186 −37 src/socket/tcp.rs
  3. +4 −4 src/storage/ring_buffer.rs
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -59,6 +59,7 @@ The TCP protocol is supported over IPv4. Server and client sockets are supported
* Multiple packets will be transmitted without waiting for an acknowledgement.
* Lost packets will be retransmitted with exponential backoff, starting at
a fixed delay of 100 ms.
* Sending keep-alive packets is supported, with a configurable interval.
* After arriving at the TIME-WAIT state, sockets will close after a fixed delay of 10 s.
* TCP urgent pointer is **not** supported; any urgent octets will be received alongside
data octets.
@@ -71,7 +72,6 @@ The TCP protocol is supported over IPv4. Server and client sockets are supported
* Timestamping (used in round-trip time measurement and protection against wrapped sequences)
is **not** supported.
* Fast open is **not** supported when smoltcp initiates connection.
* Keepalive is **not** supported.

## Installation

Loading