8000 IPv6 on Windows · Issue #46 · analogdevicesinc/libiio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

IPv6 on Windows #46

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

Closed
pcercuei opened this issue Oct 4, 2016 · 4 comments
Closed

IPv6 on Windows #46

pcercuei opened this issue Oct 4, 2016 · 4 comments

Comments

@pcercuei
Copy link
Contributor
pcercuei commented Oct 4, 2016

Libiio does not support IPv6 on Windows, while it does on Linux.

@gvanem
Copy link
gvanem commented Apr 4, 2022

For Windows, supporting IPv6 is very easy:

--- a/network.c 2022-04-04 10:17:44
+++ b/network.c 2022-04-04 14:50:30
@@ -22,6 +22,7 @@
 #ifdef _WIN32
 #include <winsock2.h>
 #include <ws2tcpip.h>
+#include <netioapi.h>  /* if_indextoname() */
 #else

@pcercuei
Copy link
Contributor Author
pcercuei commented Apr 4, 2022

That bug is from 6 years ago :)
But if it's that simple, I'll see if I can add it.

pcercuei added a commit that referenced this issue Apr 4, 2022
Properly support IPv6 on Windows. It only needs an extra include in
network.c.

Fixes #46.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
@pcercuei
Copy link
Contributor Author
pcercuei commented Apr 4, 2022

@gvanem see PR #828.
Can I add your Suggested-by to the commit?

@gvanem
Copy link
gvanem commented Apr 4, 2022

Can I add your Suggested-by to the commit?

Sure.

pcercuei added a commit that referenced this issue Apr 4, 2022
Properly support IPv6 on Windows. It only needs an extra include in
network.c.

Fixes #46.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Suggested-by: Gisle Vanem <gvanem@yahoo.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0