Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipv6-复合链接 #416

Closed
stevezhou6 opened this issue Jun 12, 2018 · 1 comment
Closed

ipv6-复合链接 #416

stevezhou6 opened this issue Jun 12, 2018 · 1 comment

Comments

@stevezhou6
Copy link

对于IPV6 我使用了你们的 复合链接代码
目前对于IOS手机通过IMAC设置成ipv6的wifi后,
连接时会在函数
TcpClientFSM::PreConnectSelect

int ret = connect(sock_, &(addr_.address()), addr_.address_length());
, PreConnectSelect, 216][close connect err:(51, Network is unreachable), localip:0.0.0.0
tcpclient_fsm.cc

, PreConnectSelect, 231][status_:3
[complexconnect.cc

, ConnectImpatient, 222][index:0, @0x16FE016C8, addr:(119.90.49.107:8035

), socket:24, close connect err:(51, Network is unreachable), localip:0.0.0.0

@garryyan
Copy link
Collaborator

complexconnect不会转换ip的,需要传转换之后的ip,所以在使用之前如果是ipv6的网络就传递ipv6的ip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants