cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Server IP address

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 8 Apr 2010 14:25:08 +0200 (CEST)

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
Received on 2010-04-08