cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: tftp+ --local-port ==Error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 4 Oct 2007 12:02:17 +0200 (CEST)

On Thu, 4 Oct 2007, Rinnewitz, Kim Oliver wrote:

> curl --local-port 34444 -T /home/kim/test.txt tftp://balh.com:34562/test.txt
>
> and I get:
>
> curl: (7) bind() failed; Invalid argument
>
> This looks like a bug to me. It also happens, if I specify a port range
> (i.e. curl --local-port 34444-34449 -T /home/kim/test.txt
> tftp://balh.com:34562/test.txt).

I've just committed a fix that seems to fix this issue for me. Please try it
out and let us know how it works for you!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-10-04