Re: Specify source IP address

shiplu <[email protected]>
Newsgroups gmane.comp.web.curl.php
Message-ID <[email protected]>
On Sat, Dec 5, 2009 at 7:02 PM, shiplu <[email protected]> wrote:
> Hello,
> Is there any way to specify source ip address when curling?
> In POSIX its int bind(int sockfd, const struct sockaddr *addr,
> socklen_t addrlen);
> And in PHP its bool socket_bind ( resource $socket , string $address
> [, int $port= 0 ] )

I just found this can be done by CURLOPT_INTERFACE option.
-- 
A K M Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.