]> sjero.net Git - wget/blobdiff - doc/wget.texi
[svn] Manually applied Rob Mayoff <mayoff@dqd.com>'s patch (vs. 1.5.3, not 1.5.3...
[wget] / doc / wget.texi
index a319b4197a76f2a45fcde39b9de54598f7dafdb1..0310cf639e55e2c2a862038133e63082489bfbd1 100644 (file)
@@ -443,6 +443,15 @@ links in the file specified by @samp{-i}.
 @section Download Options
 
 @table @samp
+@cindex bind() address
+@cindex client IP address
+@cindex IP address, client
+@item --bind-address=@var{ADDRESS}
+When making client TCP/IP connections, @code{bind()} to @var{ADDRESS} on
+the local machine.  @var{ADDRESS} may be specified as a hostname or IP
+address.  This option can be useful if your machine is bound to multiple
+IPs.
+
 @cindex retries
 @cindex tries
 @cindex number of retries
@@ -1707,9 +1716,10 @@ option is set to @samp{always} or @samp{never}, that value will be
 locked in for the duration of the wget invocation -- commandline options
 will not override.
 
-Some commands take pseudo-arbitrary values.  @var{string} values can be
-any non-empty string.  @var{n} can be any positive integer, or
-@samp{inf} for infinity, where appropriate.
+Some commands take pseudo-arbitrary values.  @var{address} values can be
+hostnames or dotted-quad IP addresses.  @var{n} can be any positive
+integer, or @samp{inf} for infinity, where appropriate.  @var{string}
+values can be any non-empty string.
 
 Most of these commands have commandline equivalents (@xref{Invoking}),
 though some of the more obscure or rarely used ones do not.
@@ -1741,6 +1751,9 @@ Consider relative @sc{url}s in @sc{url} input files forced to be
 interpreted as @sc{html} as being relative to @var{string} -- the same
 as @samp{-B}.
 
+@item bind_address = @var{address}
+Bind to @var{address}, like the @samp{--bind-address} option.
+
 @item cache = on/off
 When set to off, disallow server-caching.  See the @samp{-C} option.