Hello can i enable UDP in config ? does it need less resource than using tcp ? how the client know which port i setup ?
Reply chain from #12
@just_snowfox @brickyboy
UDP and TCP are the two “low level” network protocols that are used anywhere
Stuff like http, https or tcp comes after it and use either TCP or UDP under the hood (TCP being used more often)
Basically UDP just tries to send the packet to the target computer, but you are not sure if the packet will be lost, duplicated, or appear before the packet you sent before
TCP requires a basic “handshake” and needs to maintain an open connexion between the two machines, but it guarantees that any message sent will be received once and at the right order on the target computer, at the cost of higher delays and higher bandwidth usages
That’s why things that don’t need to transfer data very fast
This conversation is on Discord · Reply there