This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients Sworddragon, neologix
Date 2014-06-22.06:40:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAH_1eM3dBu8-Qym=KM12JmzrAaaTZUAKon0rY-0iZ-nGZvRcNQ@mail.gmail.com>
In-reply-to <1403375270.2.0.381260657952.issue21819@psf.upfronthosting.co.za>
Content
> I'm wondering how would it be possible then to fetch packets of an unknown size without using an extremely big buffer.

IP packets are limited to 64K, so just pass a 64K buffer, that's not
"extremely big".
If you really wanted to avoid this, you could try the FIONREAD ioctl,
but I wouldn't advise it.
History
Date User Action Args
2014-06-22 06:40:56neologixsetrecipients: + neologix, Sworddragon
2014-06-22 06:40:56neologixlinkissue21819 messages
2014-06-22 06:40:56neologixcreate