gh-93183: Adjust wording in socket docs (#93832)

package => packet

Co-authored-by: Victor Norman
This commit is contained in:
Erlend Egeberg Aasland 2022-06-15 10:36:37 +02:00 committed by GitHub
parent 4f26963526
commit cdd3984307
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2076,10 +2076,10 @@ the interface::
# Include IP headers
s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)
# receive all packages
# receive all packets
s.ioctl(socket.SIO_RCVALL, socket.RCVALL_ON)
# receive a package
# receive a packet
print(s.recvfrom(65565))
# disabled promiscuous mode