Boost C++ Libraries: Ticket #12313: sockaddr_storage_type doesn't have a member named ss_len https://svn.boost.org/trac10/ticket/12313 <p> If the configuration macro BOOST_ASIO_HAS_GETADDRINFO is not defined, compile error is occurred the following line: <a class="ext-link" href="https://github.com/boostorg/asio/blob/boost-1.61.0/include/boost/asio/detail/impl/socket_ops.ipp#L3318"><span class="icon">​</span>https://github.com/boostorg/asio/blob/boost-1.61.0/include/boost/asio/detail/impl/socket_ops.ipp#L3318</a> </p> <p> Because the class sockaddr_storage_type doen't have a member variable ss_len. </p> <p> See: <a class="ext-link" href="https://github.com/boostorg/asio/blob/boost-1.61.0/include/boost/asio/detail/socket_types.hpp#L111"><span class="icon">​</span>https://github.com/boostorg/asio/blob/boost-1.61.0/include/boost/asio/detail/socket_types.hpp#L111</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12313 Trac 1.4.3 piotr.nowinski Tue, 25 Apr 2017 11:00:28 GMT <link>https://svn.boost.org/trac10/ticket/12313#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12313#comment:1</guid> <description> <p> Hi, We have just bump into the same issue. We don't want to use getaddrinfo on fedora linux because it's extremely slow when multiple addresses are added to the same interface (e.g. 30k). </p> <p> Problem seems to be very simple, we just remove: line 338 (tmp_addr.ss_len = addrlen) in socket_ops.ipp. I hope someone will fix the issue in next release. </p> </description> <category>Ticket</category> </item> </channel> </rss>