generated from foambubble/foam-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
frank chen
committed
Jan 26, 2024
1 parent
a9794d1
commit 21e43bb
Showing
4 changed files
with
73 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
authors: | ||
- frank | ||
tags: | ||
- Wiki Socket | ||
description: Wiki Socket | ||
keywords: | ||
- Wiki Socket | ||
image: https://i.imgur.com/mErPwqL.png | ||
date: 2024-01-26 | ||
draft: false | ||
enableComments: true # for Gisqus | ||
--- | ||
|
||
# Wiki Socket | ||
|
||
|
||
Terms of sockets in socket programming, | ||
|
||
- On the server side: | ||
- The socket responsible for listening and accepting incoming connections is commonly referred to as the "**server socket**". | ||
- The individual sockets created for each accepted connection, responsible for data exchange with the connected clients, are often referred to as "**client socket**" (or simply "**socket**"). | ||
- On the client side: | ||
- The socket responsible for initiating a connection to the server and handling data exchange is commonly referred to as the "**client socket**" or "**socket**" | ||
|
||
In summary: | ||
- Server Side: | ||
- Listening Socket: "**Server Socket**" | ||
- Data Exchange Sockets (for each connection): "**Client Socket**" or just "**Socket**" | ||
- Client Side: | ||
- Data Exchange Socket: "**Client Socket**" or just "**Socket**" | ||
|
||
|
||
<!--truncate--> | ||
|
||
## Resources | ||
|
||
[Transports and Protocols — Python 3.12.1 documentation](https://docs.python.org/3/library/asyncio-protocol.html) | ||
|
||
[selectors — High-level I/O multiplexing — Python 3.12.1 documentation](https://docs.python.org/3/library/selectors.html) | ||
|
||
[socket — Low-level networking interface — Python 3.12.1 documentation](https://docs.python.org/3/library/socket.html) |
Submodule docker-compose
updated
2 files
+24 −1 | traefik/docker-compose.yml | |
+100 −0 | traefik/server_whoami.py |