Skip to content

判断IPv6解析是否成功的判断条件错了 #58

Closed

Description

@littleangel0309

在SocketClientTransporter::Connect和SocketServerTransporter::Listen这两处都是先尝试用uv_ip6_addr把host按IPv6来解析, 但是解析成功与否应该用uv_ip6_addr的返回值来判断, 不应该用family域来判断, 因为uv_ip6_addr内会先把family域赋值为AF_INET6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions