We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7db66d8 commit 401b4b7Copy full SHA for 401b4b7
Doc/library/socket.rst
@@ -2028,10 +2028,10 @@ the interface::
2028
# Include IP headers
2029
s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)
2030
2031
- # receive all packages
+ # receive all packets
2032
s.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)
2033
2034
- # receive a package
+ # receive a packet
2035
print(s.recvfrom(65565))
2036
2037
# disabled promiscuous mode
0 commit comments