Development discussion of WireGuard
 help / color / mirror / Atom feed
* example.c in wintun project does not work as expected
@ 2022-12-29 13:59 hr567
  0 siblings, 0 replies; only message in thread
From: hr567 @ 2022-12-29 13:59 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1.1: Type: text/plain, Size: 417 bytes --]

I'm learning how to use wintun with its example.c file, however, the example
program doesn't run correctly currently. I found that the cause of the error
was calling WintunGetAdapterLUID before WintunStartSession. In this case,
WintunGetAdapterLUID set the InterfaceLuid to 0. I'm not sure if the problem
is caused by the wintun version or the OS version. I am using wintul.dll
version 0.14.1 and Windows 11 x86_64.

[-- Attachment #1.2: publickey - - c8b7d072.asc --]
[-- Type: application/pgp-keys, Size: 1757 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-03  2:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-29 13:59 example.c in wintun project does not work as expected hr567

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).