We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
always throw IOException: Address family not supported by protocol in Native.cpp: int listenfd = socket(AF_INET6,SOCK_STREAM,0);
int listenfd = socket(AF_INET6,SOCK_STREAM,0);
现在仍然有很多服务器并没安装IPv6协议栈, 建议增加IPv4的支持.
The text was updated successfully, but these errors were encountered:
抱歉回复有些晚,监听IPv6协议栈可以同时接收IPv4和IPv6的连接,仅支持IPv4的服务器太小众了,可以使用原生nio.
Sorry, something went wrong.
只是多写两行代码, 失败就用AF_INET宏再试一次的事
抱歉回复有些晚,监听IPv6协议栈可以同时接收IPv4和IPv6的连接,仅支持IPv4的服务器太小众了,可以使用原生nio. 只是多写两行代码, 失败就用AF_INET宏再试一次的事
那我找个时间加一下。
No branches or pull requests
always throw IOException: Address family not supported by protocol
in Native.cpp:
int listenfd = socket(AF_INET6,SOCK_STREAM,0);
现在仍然有很多服务器并没安装IPv6协议栈, 建议增加IPv4的支持.
The text was updated successfully, but these errors were encountered: