Skip to main content
5 events
when toggle format what by license comment
Dec 24, 2021 at 23:07 vote accept Pablo
Oct 13, 2021 at 21:12 history edited Effie CC BY-SA 4.0
added 834 characters in body
Oct 13, 2021 at 21:07 comment added Effie i think it is more there to pass it to applications. so, in your example when you receive a UPD packet and want to send a responce, you will need to put something in the destination port of the responce. You can learn this something from source port of the original packet. Although UDP does not use connections, it still uses ports to identify and separate flows and to decide which socket to associate packet with.
Oct 13, 2021 at 20:47 comment added Pablo I understand that the UDP header must contain these values, but UDP won't actually use the source port for anything right? If I am understanding correctly, it's probably in the header to pass it along the networking layer?
Oct 13, 2021 at 20:41 history answered Effie CC BY-SA 4.0