HTTPLib

所属分类:Windows编程
开发工具:C/C++
文件大小:19KB
下载次数:95
上传日期:2007-03-12 13:56:19
上 传 者sluo
说明:  Http library for Palm, HTTP full implimentation include GET, POst,
(Http library for Palm, HTTP GET include full implimentation, POst, )

文件列表:
254482 (0, 2011-02-18)
254482\httplib.c (20101, 2006-08-27)
254482\httplib.h (4378, 2006-08-22)
254482\HttpLibP.prc (2630, 2006-08-27)
254482\HttpTester.bmp (190, 2001-10-13)
254482\HttpTester.c (14089, 2006-08-27)
254482\HttpTester.h (3457, 2006-08-27)
254482\HttpTester.prc (7802, 2006-08-27)
254482\HttpTester.rcp (1336, 2006-08-27)
254482\makefile (1275, 2006-08-22)

HTTP Library By P.Bernard (metro@ananika.net) Copyright L.Demailly Recent versions of the PalmOS offer high-level APIs offering the same services as this one. However, if you want your program to support older devices (back to PalmOS 2.0, when the Net Library first appeared in the OS), the HTTP Library is a good choice. This library is adapted from work by L.Demailly (see http://www.demailly.com/~dl/), released under the Artistic License (http://www.opensource.org/licenses/artistic-license.php). As such, this code is released under the same license. The main changes I have brought to the original sources are: - Conversion to PalmOS APIs - Support for HTTP 1.1 - Build as a standard PalmOS shared library The library is designed to do just what I needed and cannot be considered as a complete and rigorous implementation of the HTTP protocol for the PalmOS. For example: - It requires the standard 'content-length' HTTP header to be returned by the server to retrieve the page content, - There is support only for GET and HEAD commands, However, I believe it contains everything you will need if you want to extend it (for example to add POST command support). Knwon problem: it has been reported that the library lead to serious crashes on the Palm LifeDrive. I suspect this was due to a conflict with the library name. I have changed it but I still don't know if that fixed the bug. If you want to stay on the safe side, you might simply embed the code for the library in your program, instead of using a shared library. This would be a pity, but I can confirm it works well in such conditions. The package contains a very crude sample program using the library. If you use this program as a starting point for your own program, yous should take care of error handling, among other details that are ignored in the sample... AND BE CAREFUL if you are using it un modified!

近期下载者

相关文件


收藏者