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 8b36ce6 commit 0844c2fCopy full SHA for 0844c2f
Doc/library/socket.rst
@@ -1988,10 +1988,10 @@ the interface::
1988
# Include IP headers
1989
s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)
1990
1991
- # receive all packages
+ # receive all packets
1992
s.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)
1993
1994
- # receive a package
+ # receive a packet
1995
print(s.recvfrom(65565))
1996
1997
# disabled promiscuous mode
0 commit comments