|
-
Aug 28th, 2001, 03:15 PM
#2
Fanatic Member
I just looked at your code, and it's really hard to understand whats going on where you are dealing with byte arrays in the DataArrival event.
If you are downloading a file of length 108 bytes, this should ALL be contained in the first chunk of data recieved in the DataArrival event... So there might be a problem with your parsing algorithm
Why not hold the data which you get in the Winsock_DataArrival event in a string? This will make it A LOT easier to parse header info. from.
Also, you don't need to send all the header fields your sending at the moment. A header such as the following should work:
"GET *MYURI* HTTP/1.0" & Vbcrlf & Vbcrlf
Hope this helps 
Laterz
Digital-X-Treme
Contact me on MSN Messenger: [email protected]
[VBCODE]Debug.Print Round(((1097) - ((55 ^ 5 + 311 ^ 3 - 11 ^ 3) _
/ (68 ^ 5))) ^ (1 / 7), 13)[/VBCODE]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|