curl-library
Re: How could i known the real IP address
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 6 Dec 2007 10:26:22 -0800
Date: Thu, 6 Dec 2007 10:26:22 -0800
On Thu, Dec 06, 2007 at 12:05:32PM +0100, Daniel Stenberg wrote:
> There's no "proper" way to extract the exact IP address, since libcurl
> provides no API to get it. It has been mentioned a lot of times but nobody
> every added it.
How about CURLOPT_OPENSOCKETFUNCTION? That now passes in the address and
ought to be good enough for this.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2007-12-06