cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Server IP address

From: Ruben Thijssen <thijssen_at_fox-it.com>
Date: Thu, 8 Apr 2010 14:57:30 +0200

Ruben Thijssen wrote:

> I have currently trying to implement the PRIMARY_IP info field in the .NET
> binder. But I am running into an problem. I am using the following code in
> the binder to request the CURLINFO_PRIMARY_IP option: 0x1000020
> (CURLINFO_STRING + 32) But the CURLINFO_PRIMARY_IP is always empty. Even if
> I am trying to print the value out of the curl c lib (so not the binder) I
> get an empty string. Is this a known issue?

It is known to work and is verified by test 500. I figure you're simply doing
it wrong or you use a libcurl older than 7.19.0?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Hi,
Okee this is a bit embarrassing. I was using 7.13.0.0. This version is default in the .NET binder.
Compiled the new cURL lib and it is working fine.
Thanks for your help.
Ruben.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-08