This DLL allows you to use the HTTP 1.0 protocol in your games. You can set the method, filename, headers and message body. The DLL uses a thread to take care of the downloading, so you can do whatever you want in your game while the download is running. The DLL supports up to 16 HTTP connections at the same time.
So what's so good about this? The same can be done with 39dll. True, but if you have ever tried this, you will notice it isn't that easy. GM's string functions are very limited (and slow), so it will be very hard to read headers, for example. Furthermore, as this DLL uses a thread to handle the socket connections, the downloads will run a lot faster as the thread can check them a lot faster than the game can. The DLL supports the entire HTTP/1.0 protocol (for receiving, for sending you can use HTTP/1.1 if the server supports it). The DLL should work with all types of servers. This DLL is like a combination of 39dll, Download Manager, Netread Dll and HTTP request dll.
- download multiple files at once (like Download Manager)
- read downloaded files directly (like Netread Dll)
- send HTTP requests (like HTTP request dll)
And all this can be done at the same time.
Download: HTTP Dll - ZIP (58.4kb)
Contains scripts, extension, an example (gmk) and a help file.
Source code: Download
Edited by Maarten Baert, 29 July 2011 - 07:27 PM.