Skip to content

Commit 3156c0c

Browse files
authored
release v0.0.1 (#91)
* minor fix README. * add references. * add 'More' sections.
1 parent 5a497b5 commit 3156c0c

5 files changed

+49
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
- [Asynchronous I/O (异步 I/O) - Synchronization Primitives: Event](https://leven-cn.github.io/python-cookbook/recipes/core/asyncio_synchronization_event)
7676
- [Asynchronous I/O (异步 I/O) - Synchronization Primitives: Condition](https://leven-cn.github.io/python-cookbook/recipes/core/asyncio_synchronization_condition)
7777
- [Asynchronous I/O (异步 I/O) - Synchronization Primitives: Semapore (信号量)](https://leven-cn.github.io/python-cookbook/recipes/core/asyncio_synchronization_semapore)
78-
- [Asynchronous I/O (异步 I/O) - Queue (队列))](https://leven-cn.github.io/python-cookbook/recipes/core/asyncio_queue)
78+
- [Asynchronous I/O (异步 I/O) - Queue (队列)](https://leven-cn.github.io/python-cookbook/recipes/core/asyncio_queue)
7979
- Networks and Communications (网络通信)
8080
- [TCP Server (IPv4) - Standard Framework](https://leven-cn.github.io/python-cookbook/recipes/core/tcp_server_ipv4_std)
8181
- [TCP Server (IPv4) - Blocking Mode (阻塞模式)](https://leven-cn.github.io/python-cookbook/recipes/core/tcp_server_ipv4_blocking)

recipes/core/tcp_client_asyncio_high_api.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ asyncio.run(tcp_echo_client(b'Hello World!')) # Python 3.7+
3434

3535
See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples/core/tcp_client_asyncio_high_api.py)
3636

37+
## More
38+
39+
More details to see [TCP (IPv4) on Python Handbook](https://leven-cn.github.io/python-handbook/recipes/core/tcp_ipv4).
40+
3741
## References
3842

3943
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
44+
- [Python - `socket` module](https://docs.python.org/3/library/socket.html)
45+
- [PEP 3151 – Reworking the OS and IO exception hierarchy](https://peps.python.org/pep-3151/)
46+
- [Linux Programmer's Manual - socket(7)](https://manpages.debian.org/bullseye/manpages/socket.7.en.html)
47+
- [Linux Programmer's Manual - socket(7) - `SO_RCVBUF`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_RCVBUF)
48+
- [Linux Programmer's Manual - socket(7) - `SO_SNDBUF`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_SNDBUF)

recipes/core/tcp_client_asyncio_low_api.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ asyncio.run(tcp_echo_client(b'Hello World!')) # Python 3.7+
7878

7979
See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples/core/tcp_client_asyncio_low_api.py)
8080

81+
## More
82+
83+
More details to see [TCP (IPv4) on Python Handbook](https://leven-cn.github.io/python-handbook/recipes/core/tcp_ipv4).
84+
8185
## References
8286

8387
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
88+
- [Python - `socket` module](https://docs.python.org/3/library/socket.html)
89+
- [PEP 3151 – Reworking the OS and IO exception hierarchy](https://peps.python.org/pep-3151/)
90+
- [Linux Programmer's Manual - socket(7)](https://manpages.debian.org/bullseye/manpages/socket.7.en.html)
91+
- [Linux Programmer's Manual - socket(7) - `SO_RCVBUF`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_RCVBUF)
92+
- [Linux Programmer's Manual - socket(7) - `SO_SNDBUF`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_SNDBUF)

recipes/core/tcp_server_asyncio_high_api.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,22 @@ asyncio.run(tcp_echo_server('127.0.0.1', 8888)) # Python 3.7+
8484

8585
See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples/core/tcp_server_asyncio_high_api.py)
8686

87+
## More
88+
89+
More details to see [TCP (IPv4) on Python Handbook](https://leven-cn.github.io/python-handbook/recipes/core/tcp_ipv4):
90+
91+
- accept queue size for `listen()`
92+
- recv/send buffer size
93+
- reuse port
94+
8795
## References
8896

8997
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
98+
- [Python - `socket` module](https://docs.python.org/3/library/socket.html)
9099
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)
100+
- [PEP 3151 – Reworking the OS and IO exception hierarchy](https://peps.python.org/pep-3151/)
101+
- [Linux Programmer's Manual - socket(7)](https://manpages.debian.org/bullseye/manpages/socket.7.en.html)
102+
- [Linux Programmer's Manual - socket(7) - `SO_REUSEADDR`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_REUSEADDR)
103+
- [Linux Programmer's Manual - socket(7) - `SO_REUSEPORT`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_REUSEPORT)
104+
- [Linux Programmer's Manual - socket(7) - `SO_RCVBUF`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_RCVBUF)
105+
- [Linux Programmer's Manual - socket(7) - `SO_SNDBUF`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_SNDBUF)

recipes/core/tcp_server_asyncio_low_api.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,22 @@ asyncio.run(tcp_echo_server('127.0.0.1', 8888)) # Python 3.7+
9292

9393
See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples/core/tcp_server_asyncio_low_api.py)
9494

95+
## More
96+
97+
More details to see [TCP (IPv4) on Python Handbook](https://leven-cn.github.io/python-handbook/recipes/core/tcp_ipv4):
98+
99+
- accept queue size for `listen()`
100+
- recv/send buffer size
101+
- reuse port
102+
95103
## References
96104

97105
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
106+
- [Python - `socket` module](https://docs.python.org/3/library/socket.html)
98107
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)
108+
- [PEP 3151 – Reworking the OS and IO exception hierarchy](https://peps.python.org/pep-3151/)
109+
- [Linux Programmer's Manual - socket(7)](https://manpages.debian.org/bullseye/manpages/socket.7.en.html)
110+
- [Linux Programmer's Manual - socket(7) - `SO_REUSEADDR`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_REUSEADDR)
111+
- [Linux Programmer's Manual - socket(7) - `SO_REUSEPORT`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_REUSEPORT)
112+
- [Linux Programmer's Manual - socket(7) - `SO_RCVBUF`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_RCVBUF)
113+
- [Linux Programmer's Manual - socket(7) - `SO_SNDBUF`](https://manpages.debian.org/bullseye/manpages/socket.7.en.html#SO_SNDBUF)

0 commit comments

Comments
 (0)