in reply to (crazyinsomniac) Re^2: How do I retrieve a piece of a file? (use a callback)
in thread How do I retrieve a piece of a file?
Correct me if I'm wrong, but in your example if the remote site is (for instance) heavily loaded and sends you a chunk of (for example) 160 bytes, your callback will be called, die, and close the connection prematurely.
later: I suppose what I am talking about is this in another form.
--
|
|---|