• TheSaneWriter@lemmy.thesanewriter.com
    link
    fedilink
    arrow-up
    5
    arrow-down
    3
    ·
    edit-2
    1 year ago

    From what I can tell yes. There’s no established connection, the data is sort of just broadcasted.

    Edit: I was operating under a misunderstanding, please refer to andrew’s response.

    • andrew@lemmy.stuart.fun
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      Broadcast would mean it’s sent to anyone. UDP packets still usually have a unicast address and thus are routed by routers and switches to specific machines, but as a connectionless protocol, UDP never validates which, if any, packets are received by the recipient like TCP does. If any verification is needed that needs to be handled higher in the OSI stack. E.g. by the application layer.

    • exscape@kbin.social
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      No no, it’s not “broadcasted”. It still has a fixed sender and receiver IP address, but UDP doesn’t verify whether the receiver got the data or not. You can implement that over UDP, but you have to do it yourself.

      With TCP, the packet will retransmitted automatically if the receiver didn’t tell the sender “yep, I got it”.