curl-library
Re: [Fwd: Patch for SO_BINDTODEVICE]
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 13 Feb 2004 08:09:19 +0100 (CET)
Date: Fri, 13 Feb 2004 08:09:19 +0100 (CET)
On Thu, 12 Feb 2004, Ben Greear wrote:
> > * SO_BINDTODEVICE failed, device eth0 errno 1, error: Operation not permitted
>
> I should definately fix the strlen problem. It very well may not be
> possible to bind to loopback, but for eth0, it should work if you are root.
You're right of course. Once I retried as root it worked fine...
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]]Received on 2004-02-13