Does #nostr still use TCP IP protocol, or is it a separate thing?

Reply to this note

Please Login to reply.

Discussion

Its a separate thing.

It uses web socket connections from client to relays as its transport layer

Cool thanks. I like your farting ostrich banner.

Well. It still uses TCP, but it uses web sockets as an alternative to http.

https://www.geeksforgeeks.org/what-is-web-socket-and-how-it-is-different-from-the-http/

That was a very helpful link, ty.

TCP still happens for the initial hand shake to negotiate between the relay and client, but then opens a bi directional channel.

Where pure TCP is a request/ response channel. They go one way and bounce back and forth.