KittiesAreCute!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sibbo@sopuli.xyz to Programmer Humor@lemmy.ml · 2 years ago

Network protocols for dummies

sopuli.xyz

message-square
21
link
fedilink
11

Network protocols for dummies

sopuli.xyz

Sibbo@sopuli.xyz to Programmer Humor@lemmy.ml · 2 years ago
message-square
21
link
fedilink
alert-triangle
You must log in or register to comment.
  • neeeeDanke@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Nah, TCP is still just kicking the box over, but just kicking it over again, if the reciever doesn’t kick back a box saying they got it.

    • CmdrKeen@lemmy.today
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Well yes, internally that’s what it does, but from a user perspective it just looks like being handed the package, you never see any of the failed attempts (unless delivery fails completely because the company went out of business). It’s sorta more like having a butler who orders it for you and deals with any potential BS that might happen, and then just hands you the package when it finally arrives in one piece.

    • pivot_root@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      TCP is also deciding to ramp up the amount of boxes you kick over until the post worker gets crushed by boxes, at which point you decide to lower your box-kicking rate by half and try again.

      • Gallardo994@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Best explanation of congestion I’ve seen in a while

  • OmnislashIsACloudApp@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    • 3ntranced@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Jesus christ SSH

    • DNOS@reddthat.com
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Can’t understand the VPN one shouldn’t the traffic pass through the VPN and then go to the user like the ssh one …

      • httpjames@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        The person on the right of the VPN image is the destination server

        • neosheo@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Isn’t the can the vpn server and the guys are just vpn users?

          • OmnislashIsACloudApp@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            that what I assumed

  • IHeartBadCode@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    I mean I’ve been trying to formally request that ISO change the C API for send() to yeet() for sockets where connection reliability is not required at the network interface level.

    • WindowsEnjoyer@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      That would be awesome! xD

    • Gallardo994@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Well, thank you, now I’m creating that exact macro in every company repo where send/sendto is used.

    • peopleproblems@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      that’s fucking brilliant lol

    • agent_flounder@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Welp, time for a new language!

  • aksdb@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    There’s nothing wrong with UDP. At least not that I know of.

  • 👍Maximum Derek👍@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 years ago

    UDP seems more like a ball fired from canon to me. You may not be prepared for it and you won’t know what state it’s in when it gets here, but that packet is making it to the gate no matter what. Or, in the rare case it doesn’t, it means someone else is having a real bad time.

    • bleistift2@feddit.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      You forgot to mention that you might get it twice, or thrice, or more, and in different versions.

      • 👍Maximum Derek👍@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        You’re right. I forgot that grapeshot is always something to worry about.

  • Enzy@lemm.ee
    link
    fedilink
    Svenska
    arrow-up
    1
    ·
    2 years ago

    ICMP

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      It’s a postcard saying “hey, thinking of you!” and there’s a picture of a wulrus on it.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 255 users / day
  • 1.1K users / week
  • 3.24K users / month
  • 9.85K users / 6 months
  • 2 local subscribers
  • 37K subscribers
  • 1.83K Posts
  • 31.2K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org