File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2420,10 +2420,8 @@ There are two basic approaches to socket programming under `asyncio`. By
24202420default sockets block until a specified read or write operation completes.
24212421` asyncio ` supports blocking sockets by using ` select.poll ` to prevent them
24222422from blocking the scheduler. In most cases it is simplest to use this
2423- mechanism. Example client and server code may be found in the ` client_server `
2424- directory. The ` userver ` application uses ` select.poll ` explicitly to poll
2425- the server socket. The client sockets use it implicitly in that the ` asyncio `
2426- stream mechanism employs it.
2423+ mechanism. Note that the ` asyncio ` stream mechanism employs it. Example client
2424+ and server code may be found in the ` client_server ` directory.
24272425
24282426Note that ` socket.getaddrinfo ` currently blocks. The time will be minimal in
24292427the example code but if a DNS lookup is required the blocking period could be
You can’t perform that action at this time.
0 commit comments