[NTLUG:Discuss] OT - libwww question

Fred James fredjame at fredjame.cnc.net
Wed Nov 2 15:15:34 CST 2005


MadHat wrote:

> On Nov 2, 2005, at 2:00 PM, Fred James wrote:
>
>> All
>> The problem is this
>> (1) pass an XML text message from server A to server B
>> (2) receive an XML text message on server A from server B, in  
>> response to the original message (item 1)
>>
>> The question is this
>> Using libwww, is that
>> (1) get
>> (2) put
>> (3) both
>> (4) something else altogether
>> ?
>>
>> Obviously I am really new to libwww
>
>
> Are you wanting to use a web server, or just a stand alone app?
>
> If you are using a CGI on a web server you could have an app on  
> server A do a put, though I would recommend a post, of the data and  
> have sever B running a web server and a CGI that would accept the  
> data, parse it and respond appropriately.
>
> There are a lot of ways of doing this really...  just depends on how  
> complex you want to get.
>
> -- 
> MadHat (at) Unspecific.com, C²ISSP
> E786 7B30 7534 DCC2 94D5  91DE E922 0B21 9DDC 3E98
> gpg --keyserver wwwkeys.us.pgp.net --recv-keys 9DDC3E98
>
MadHat
This is a stand alone, no web server - just a C program compiled with 
libwww, which (yes) I have installed and tested (with one of their 
sample programs).

So, if I use put, or post, it will wait for the reply?  I am trying to 
keep this really, really, simple (send an XML message, receive the reply 
which is another XML message).

Thank you in advance for any help you may be able to offer.
Regards
Fred James





More information about the Discuss mailing list