W3C home > Mailing lists > Public > www-talk@w3.org > January to February 2003

can Libwww send HTTP response packets

From: pvillacr <pvillacr@ceibo.fiec.espol.edu.ec>
Date: Fri, 17 Jan 2003 15:59:26 -0500
Message-ID: <3E286EAE.6090507@ceibo.fiec.espol.edu.ec>
To: Mildred <mildredf@asti.dost.gov.ph>
Cc: www-talk@w3.org

Hi

I would like know  2 questios please

HOW i can compile programs using kdevelop ?
i use libwww-config but not work this is the error

/bin/sh ../libtool --silent --mode=link gcc -O2 -O0 -g1 -Wall -o browser 
main.o
main.o: In function `terminate_handler':
main.o(.text+0x4d): undefined reference to `HTRequest_delete'
main.o(.text+0x55): undefined reference to `HTProfile_delete'
main.o: In function `main':
main.o(.text+0x9e): undefined reference to `HTProfile_newNoCacheClient'
main.o(.text+0xae): undefined reference to `HTPrint_setCallback'
main.o(.text+0xbe): undefined reference to `HTTrace_setCallback'
main.o(.text+0xd9): undefined reference to `HTNet_addAfter'
main.o(.text+0xe9): undefined reference to `HTHost_setEventTimeout'
main.o(.text+0x1a6): undefined reference to `HTRequest_new'
main.o(.text+0x1ba): undefined reference to `HTLoadToFile'
main.o(.text+0x1ce): undefined reference to `HTPrint'
main.o(.text+0x1d6): undefined reference to `HTProfile_delete'
main.o(.text+0x1e3): undefined reference to `HTEventList_loop'
main.o(.text+0x1f5): undefined reference to `HTPrint'
main.o(.text+0x20a): undefined reference to `HTPrint'
main.o(.text+0x21f): undefined reference to `HTPrint'
main.o(.text+0x227): undefined reference to `HTProfile_delete'
collect2: ld returned 1 exit status
gmake[2]: Leaving directory `/root/Developedbrowser/browser'
gmake[2]: *** [browser] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/Developedbrowser'
gmake: *** [all] Error 2
*** failed ***

2 questions
If Libwww i could be emulate a HTTP server because  i need this part in 
my program
the idea is the next


internet ---------- eth0 -------------MyFirewall ------------eth1 
 -------------------LAN Protected


in the program packet throght for MyFirewall and i would like that my 
program emulate a HTTP server for send a packet response with code 403 
forbiden .. for example.
Received on Monday, 20 January 2003 14:36:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:27 GMT