Skip to content
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

TCP Based on HTTP #72

Closed
sergiosalvatore opened this issue Jul 20, 2018 · 1 comment
Closed

TCP Based on HTTP #72

sergiosalvatore opened this issue Jul 20, 2018 · 1 comment

Comments

@sergiosalvatore
Copy link

HTTP is stateless, so TCP which is based on HTTP is also stateless. It seems like that TCP links the two ends, client, and server, but it is actually that both the two ends maintain the state together.

This statement is misleading. Yes, both HTTP and TCP are stateless, but TCP is not based on HTTP. In fact, HTTP uses TCP with HTTP being a layer 7 (application) protocol and TCP is a layer 4 (transport) layer protocol.

@naihe138
Copy link
Member

@sergiosalvatore
Thank you for pointing out the mistake.
It should be so HTTP which is based on TCP is also stateless

@KieSun KieSun added the later label Jul 21, 2018
@KieSun KieSun closed this as completed Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants