cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL and Java Hashtable

From: Michael Wood <esiotrot_at_gmail.com>
Date: Sat, 15 Nov 2008 23:26:44 +0200

On Fri, Nov 14, 2008 at 8:55 PM, Michael Hecker <Hecker.Michael_at_gmx.de> wrote:
> Hello,
> I found a java applet on the internet, which retrieves a hashtable from the
> server.
>
> Did someone of you ever try to read this kind of client-server-communication
> with a curl c++ programme and could give me some advice?
>
> The response of the server looks like this:
> java.util.Hashtable » %!J
> loadFactorI
> javaVendort
> Windows XPx

Do you want to convert this Java Hashtable into some sort of C++ object?

I suppose you'd have to figure out how Java serialises Hashtables and
write code to manually convert it to a C++ object. This part would
obviously not have anything to do with libcurl.

-- 
Michael Wood <esiotrot_at_gmail.com>
Received on 2008-11-15