chat
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| chat [2022/09/23 05:58] – created jhagstrand | chat [2022/09/23 06:02] (current) – [definitions] jhagstrand | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== definitions ===== | ===== definitions ===== | ||
| - | **chat client and server* | + | **chat client and server** - The server accepts connection requests from the clients and organizes them into conversations or chatrooms. |
| - | **socket* | + | **socket** - A chat client and server can be implemented using sockets. |
| - | **webchat* | + | **webchat** - must run over the internet with the client chat window in a browser page, and it must use TCP and HTTP. Prior to 2010, webchat would require client polling, constantly checking for new messages. |
| - | **websocket* | + | **websocket** - Since 2010, with HTML5, the websocket protocol enables full-duplex (two-way) communications over the internet, after a connection between client and server. |
| - | **WAMP* | + | **WAMP** - Web Application Messaging Protocol. |
| * Publish and Subscribe (PubSub) | * Publish and Subscribe (PubSub) | ||
| * rRPC - routed Remote Procedure Calls | * rRPC - routed Remote Procedure Calls | ||
| Line 25: | Line 25: | ||
| * browser developer tools inspect handshake and frames | * browser developer tools inspect handshake and frames | ||
| * not restricted by same-origin policy | * not restricted by same-origin policy | ||
| - | * demos at websocket.org, | + | * demos at websocket.org, |
| ===== Python websockets ===== | ===== Python websockets ===== | ||
chat.1663927095.txt.gz · Last modified: 2022/09/23 05:58 by jhagstrand