Pinchflat

You Can’t Send ‘Messages’ Over TCP — Here’s Why | Advanced Rust Part 13

Raw Attributes

Source: Advanced Rust
  • media_id: XIgniNnM1wg
  • duration_seconds: 782
  • predicted_media_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e072900_You Can’t Send ‘Messages’ Over TCP — Here’s Why | Advanced Rust Part 13.mp4
  • short_form_content: false
  • upload_date_index: 0
  • nfo_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e072900_You Can’t Send ‘Messages’ Over TCP — Here’s Why | Advanced Rust Part 13.nfo
  • media_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e072900_You Can’t Send ‘Messages’ Over TCP — Here’s Why | Advanced Rust Part 13.mp4
  • description: 👨‍💻 I offer personal mentoring for beginner and intermediate Rust Developers, including systems design. Reach out and we can figure out a way to work on your career: comfycoderyt@gmail.com Watch the rest of this series: https://www.youtube.com/playlist?list=PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl New to Rust? Check out my fundamentals series: https://www.youtube.com/playlist?list=PLFdNoRgzggbo6BqJQ6tqk_wvXeI5yfbGA Ever tried to send a simple #network message over #TCP in #Rust—only to get strange results like "pingping" instead of two separate "ping"s? In this video, we’ll explore why TCP doesn’t understand messages, even though it guarantees reliable, ordered delivery. We’ll dive into TCP’s stream-based nature, how segmentation and buffering work, and why framing your messages is essential to avoid subtle bugs. Whether you're new to Rust networking or just want a deeper understanding of how TCP really behaves, this video breaks it down with a clean explanation, practical code, and a surprising "aha!" moment. Find me elsewhere: 🐘 Mastodon: https://mastodon.social/@GreenTeaCoding Sections: 00:00 Basic TCP code 01:48 The Problem 02:53 TCP Fundamentals 07:08 Message Framing 08:32 TCP TL;DW 09:40 Manual Parsing 11:19 Using BufReader 11:56 Wrap-Up
  • updated_at: 2025-07-30T04:29:42Z
  • id: 811286
  • media_size_bytes: 48438921
  • inserted_at: 2025-07-30T04:28:09Z
  • media_redownloaded_at:
  • prevent_culling: false
  • source_id: 22
  • original_url: https://www.youtube.com/watch?v=XIgniNnM1wg
  • uuid: f96307fc-80ee-4764-8be4-a9eb7d291a3c
  • matching_search_term:
  • metadata_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e072900_You Can’t Send ‘Messages’ Over TCP — Here’s Why | Advanced Rust Part 13.info.json
  • uploaded_at: 2025-07-29T14:00:48Z
  • thumbnail_filepath: /downloads/chris/tubes/Advanced Rust_[PLFdNoRgzggbr7tkQsO4VrF1UGy0ji9sZl]/Season 2025/s2025e072900_You Can’t Send ‘Messages’ Over TCP — Here’s Why | Advanced Rust Part 13-thumb.jpg
  • prevent_download: false
  • tasks:
  • title: You Can’t Send ‘Messages’ Over TCP — Here’s Why | Advanced Rust Part 13
  • last_error:
  • culled_at:
  • subtitle_filepaths:
  • media_downloaded_at: 2025-07-30T04:29:18Z
  • livestream: false
  • playlist_index: 13

Nothing Here!