Created
April 18, 2021 14:41
-
-
Save CelliesProjects/04538cf4616e4b195b12dd20363a511b to your computer and use it in GitHub Desktop.
Revisions
-
CelliesProjects created this gist
Apr 18, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #include <tcpip_adapter.h> static bool netif_isup() { for (int i = TCPIP_ADAPTER_IF_STA; i < TCPIP_ADAPTER_IF_MAX; i++) if (tcpip_adapter_is_netif_up((tcpip_adapter_if_t)i)) return true; return false; }