GET + SOCKET + HTTP
| Wed, 2006-12-13 02:00 | |
|
Hi,
I want to download an image from a http server via RSocket. How should GET request look like? url: http://www.someurl.com/test.png tried following but didnt help: iRequest.Copy(_L8("GET / HTTP/1.0\r\n\r\n")); iRequest.Copy(_L8("GET /test.png HTTP/1.0\xD\xA\xD\xA")); iRequest.Copy(_L8("GET /test.png HTTP/1.0\r\n\r\n")); Thanks ahead guys ![]() |
|







Forum posts: 131
Forum posts: 39
for some reason i have to use socket.
Forum posts: 131
But anyway, you'd have to describe your problem in a bit more detail (socket code, your problem symptoms, etc) to get any help as your HTTP request strings are correct.
Forum posts: 39
But anyway, you'd have to describe your problem in a bit more detail (socket code, your problem symptoms, etc) to get any help as your HTTP request strings are correct.
Solved: Image path was incorrect
Thanks