Valhalla Legends Forums Archive | Visual Basic Programming | GetChunk

AuthorMessageTime
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
[code]Inet1.GetChunk 1024, icString[/code]

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.

February 10, 2004, 3:47 AM
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?
February 10, 2004, 4:19 PM
Imperceptus
it is http, how would I go about a range request? Ive never even heard of such a thing.
February 10, 2004, 6:30 PM
Skywing
[quote author=Imperceptus link=board=31;threadid=5205;start=0#msg43539 date=1076437825]
it is http, how would I go about a range request? Ive never even heard of such a thing.
[/quote]
See RFC 2616.
February 10, 2004, 6:32 PM
Imperceptus
Oh... Hey this looks like some good reading, thanks skywing. :)
February 10, 2004, 6:56 PM

Search