Skip to content

Cannot connect to localhost without global connectivity #244

Open
@breyed

Description

@breyed

On Windows, if there are no network cards installed or they are all disabled (e.g. Windows 8 airplane mode), attempts to resolve localhost fail. The problem is that WebSocket++ uses the default value for the basic_resolver_query constructor's resolve_flags parameter is address_configured, which is AI_ADDRCONFIG on Windows. However, as implemented AI_ADDRCONFIG is actually detrimental, particularly for resolution of loopback and link-local addresses. See the Boost ticket 8503 for details.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions