From de7954cc5f1ddab58906e892b14212c03f8e0fc1 Mon Sep 17 00:00:00 2001 From: VictorNorman Date: Wed, 18 May 2022 18:58:48 -0400 Subject: [PATCH] Update socket.rst Replace "package" and "packages" with "packet" and "packets" in comments in sample code. --- Doc/library/socket.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 4c193b892bda8fc..84683a849ed0cc1 100755 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -2033,10 +2033,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