Hello, I've updated the pull request, so that now it is possible also to bind to local IP and port. I've changed name of the option to -bind.
Details available here: https://github.com/openssl/openssl/pull/113 Could you please integrate it to mainstream? Kris On Tue, 2014-05-27 at 11:21 +0200, Krzysztof Kwiatkowski wrote: > On 2014-05-27 11:13, Michael Tuexen wrote: > > On 27 May 2014, at 10:01, Krzysztof Kwiatkowski <krzys...@leeds.pl> > > wrote: > > > >> On Tue, 2014-05-27 at 09:18 +0200, Michael Tuexen wrote: > >>>> Please do update it. > >>> I guess that patch should be against the master branch, right? > >>> (the current patch doesn't apply there...) > >>> > >> That what I was thinking about. Wouldn't it be less work to apply my > >> patch to master and then apply patch for IPv6 (as it cleanly applies > >> right now)? In such case I won't need to change my patch later. > > Makes sense. Apply your patch... Let me know once it is in. > > > > Looking at your patch: Wouldn't it make sense to allow setting the > > local port number as well? You could use > > -bind host:port > > similar to > > -connect host:port > > instead of > > -localip arg > > > > You could also call bind() in any case. Just initialise the address > > and port number to 0. > > Best regards > > Michael > > > Yes, that's good idea, I'll do. > > >> > >> > >> ______________________________________________________________________ > >> OpenSSL Project > >> http://www.openssl.org > >> Development Mailing List > >> openssl-dev@openssl.org > >> Automated List Manager > >> majord...@openssl.org > >> > > > > > > ______________________________________________________________________ > > OpenSSL Project > > http://www.openssl.org > > Development Mailing List > > openssl-dev@openssl.org > > Automated List Manager > > majord...@openssl.org > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > Development Mailing List openssl-dev@openssl.org > Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org