Binding all IPv6 and IPv4 sockets available
Development toolkit for Web Services and XML data bindings for C & C++
Brought to you by:
engelen
We are using this library in multiple services and we need them to be IPv6 ready (EMI grid services), binding all IPv4 and IPv6 PF_UNSPEC, PASSIVE sockets (0.0.0.0, ::). It was able to bind just IPv6 socket :: with IPV6_V6ONLY disabled on IPv4 mapped addresses supporting system, but this is not very usual so we decided to bind both sockets.
We are currently using gsoap-2.7.16-3 so I provide patch for both 2.7.16-3 and for 2.8.10 from SVN repo rev. 33.
I hope you find my patch useful. Maybe you will have another opinion about this, but we would appreciate including this functionality to mainstream.
patch for 2.7.16-3 version
To enable this it is needed to compile gsoap with -DWITH_IPV6 -DBIND_ALL_SOCKETS.
Thank you for considering this patch.
patch for SVN version based on rev. 33
the feature should work now in 2.8.59