Skip to content

Add the answer for TCP/UDP real-life use cases #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion answers/networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ To be defined.

## TCP or UDP will be used in this case? why?

To be defined.
TCP: used in web browsing, email, file transfers,... because it is a reliable protocol (requires handshake), guarantee the data integrity.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @hieubz . Thank your for your contribution.
About your answser, I'm afraid that you misundertood the question.
I believe in this question, "this case" refers to the above question ## The other of place to look up DNS..


UDP: used in game, video and music streaming,... because it is faster than TCP (no handshake, no error checking)

## How to know "google.com" require HTTP or HTTPS? how browser can know and redirect from HTTP to HTTPS?

Expand Down