OT
Posted Mar 28, 2006 18:48 UTC (Tue) by
guinan (subscriber, #4644)
In reply to:
OT by tjc
Parent article:
The Grumpy Editor's guide to RSS aggregators
You have to keep track of the number of bytes returned and make multiple attempts. When things go through network transports (even localhost) you'll get things in chunks corresponding to 1 or more packets.
I usually write a wrapper function around recv() to keep the calling code simple.
(
Log in to post comments)