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

Change incorrect WebSocket reference to Unix sockets #133

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Raphexion
Copy link
Contributor

I believe that the reference to WebSockets is incorrect in the book. I think that this is not actually WebSockets but instead a standard Unix socket abstraction.

Normally, WebSockets is a protocol for establishing a two-way communication to a backend webserver (after performing a HTTP upgrade).

In the book, only the normal request and response flow is shown.

[1] https://en.wikipedia.org/wiki/WebSocket
[2] https://en.wikipedia.org/wiki/Berkeley_sockets#Socket_API_functions

Once again, thank you for writing this book.

I assign the copyright of this contribution to Pedro Duarte Faria.

I believe that the reference to WebSockets is incorrect in the book. I
think that this is not actually WebSockets but instead a standard Unix
socket abstraction.

Normally, WebSockets is a protocol for establishing a two-way
communication to a backend webserver (after performing a HTTP upgrade).

In the book, only the normal request and response flow is shown.

[1] https://en.wikipedia.org/wiki/WebSocket
[2] https://en.wikipedia.org/wiki/Berkeley_sockets#Socket_API_functions

Once again, thank you for writing this book.

 I assign the copyright of this contribution to Pedro Duarte Faria.
@Raphexion
Copy link
Contributor Author

Raphexion commented Feb 17, 2025

I am sorry that I made some extra line ending changes (windows vs unix). I tried multiple ways to get ride of them. You are very welcome to edit my PR.

@pedropark99
Copy link
Owner

It's okay. I have faced this same issue of windows line endings vs linux multiple times, is really annoying .

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

Successfully merging this pull request may close these issues.

2 participants