File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 44 This is returned by the [`accept()`](https://docs.python.org/3/library/socket.html#socket.socket.accept) method.
55
66 ```python
7- # The return value includes the client's connection (a `Socket` object) and the client's address (which we ignore)
7+ # The return value includes:
8+ # 1. the client's connection (a `Socket` object)
9+ # 2. the client's address (a tuple of the IP address and port number)
810 connection, _ = server_socket.accept()
911 ```
1012
11- The above code uses `_` to ignore the second return value, which is the client's address (a tuple of the IP address and port number) .
13+ The above code uses `_` to ignore the second return value, which is the client's address.
1214
1315 - title_markdown : " How do I read the client's PING command?"
1416 body_markdown : |-
You can’t perform that action at this time.
0 commit comments