I am having a problem setting up a gsoap server on an IPV6 and V4 address.
I am getting a the following error
SOAP 1.1 fault: SOAP-ENV:Server [no subcode]
"Protocol not available"
Detail: setsockopt IPV6_V6ONLY failed in soap_bind()
I want the server to be available for ipv6 and ipv4 requests. I noticed in
the code that the preprocessor macro IPV6_V6ONLY is used to control the code
contents in the stdsoap2.cpp file. The problem is, there is the same macro
in the standard "netinet/in.h" include as a option for setsockopt(). So in
short, there is NO way to execute soap_bind() with out attempting
restricting it to ipv6 only.
Anyone worked around this before?
--
-={ http://blog.bandjos.com }=-