File:Implementing TCP in Rust (part 1).webm
Original file (WebM audio/video file, VP9/Opus, length 5 h 19 min 48 s, 1,920 × 1,080 pixels, 414 kbps overall, file size: 947.96 MB)
Captions
Summary
[edit]DescriptionImplementing TCP in Rust (part 1).webm |
English: In this stream, we started implementing the ubiquitous TCP protocol that underlies much of the traffic on the internet! In particular, we followed RFC 793 — https://tools.ietf.org/html/rfc793 — which describes the original protocol, with the goal of being able to set up and tear down a connection with a "real" TCP stack at the other end (netcat in particular). We're writing it using a user-space networking interface (see https://www.kernel.org/doc/Documentation/networking/tuntap.txt and the Rust bindings at https://docs.rs/tun-tap/).
We got decently far, and are now able to both establish an incoming TCP connection (i.e., perform the TCP three-way handshake) and terminate the connection cleanly. You can find the current code at https://github.com/jonhoo/rust-tcp. There's still a long way to go though, as we still need to add support for data segments, retransmissions, and timers; so that's what we'll cover in the next stream! Eventually, we will also want to implement RFC 1122 — https://tools.ietf.org/html/rfc1122 — which lays out a number of further enhancements that must be made in order to interoperate nicely on the internet. This is also discussed in RFC 7414: https://tools.ietf.org/html/rfc7414#section-2, which we're also aiming to support. You can see the live version with comments at https://www.youtube.com/watch?v=_OnJ9z-e_TY |
Date | |
Source | YouTube: Implementing TCP in Rust (part 1) – View/save archived versions on archive.org and archive.today |
Author | Jon Gjengset |
Licensing
[edit]- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
This file, which was originally posted to an external website, has not yet been reviewed by an administrator or reviewer to confirm that the above license is valid. See Category:License review needed for further instructions.
|
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 20:29, 29 September 2024 | 5 h 19 min 48 s, 1,920 × 1,080 (947.96 MB) | Momiji-Penguin (talk | contribs) | Imported media from https://www.youtube.com/watch?v=bzja9fQWzdA |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
Transcode status
Update transcode statusMetadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Software used | Lavf60.16.100 |
---|