• Welcome to Valhalla Legends Archive.
 

GetChunk

Started by Imperceptus, February 09, 2004, 09:47 PM

Previous topic - Next topic

Imperceptus

I have not been able to find much helpful information on MSDN about the Internet Transfer Controls.  My question involves the GetChunk method.
Inet1.GetChunk Size, Type
Inet1.GetChunk 1024, icString

Im wondering If its at all possible to return only a range from the buffer that GetChunk reads?  Most of the Data that I need to grab is around the 33050 - 33100 byte range.  I have already taken steps to make sure that as soon as the data that I need is recieved is found, that it stops the loop that retrieves the data.  Just wondering like I mentioned above if I can return a certian range of bytes from the buffer instead of returning chunks of data... one after the other.

Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.

Adron

I don't think you can with that method. But what about giving the server a Range request, if this is http you're talking?

Imperceptus

it is http, how would I go about a range request?  Ive never even heard of such a thing.
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.

Skywing

Quote from: Imperceptus on February 10, 2004, 12:30 PM
it is http, how would I go about a range request?  Ive never even heard of such a thing.
See RFC 2616.

Imperceptus

Oh... Hey this looks like some good reading, thanks skywing. :)
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.