Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
libapp_2.c
Package: arena-beta-2b-src.tar.gz [view]
Upload User: zlh9724
Upload Date: 2007-01-04
Package Size: 1991k
Code Size: 1k
Category:
Browser Client
Development Platform:
Unix_Linux
- #include "WWWLib.h"
- #include "WWWHTTP.h"
- int main()
- {
- HTList *converters = HTList_new(); /* Create a list object */
- /* Initialize the Library */
- HTLibInit("TestApp", "1.0");
- /* Register the HTTP Module */
- HTProtocol_add("http", YES, HTLoadHTTP, NULL);
- /* Add a conversion to our empty list */
- HTConversion_add(converters, "*/*", "www/present", HTSaveLocally, 1.0, 0.0, 0.0);
- /* Register our list with one conversion */
- HTFormat_setConversion(converters);
- /* Delete the list with one conversion */
- HTConversion_deleteAll(converters);
- /* Terminate the Library */
- HTLibTerminate();
- return 0;
- }