Posts by Tags

C++

Windows Coding

less than 1 minute read

Published:

How to get DNS Server for particular adapter on Windows

  1. Retrieve addresses information about adapter through API:GetAdapterAddress(…)
  2. Loop to check whether current pointer points to the adapter specified by verify the attributes like FirstUnicastAddress.
  3. if the pointer points to the specified adapter, FirstDnsServerAddress data member points to the head of the linked list which stores the list of dns server for the specified adapter.

Windows API

Windows Coding

less than 1 minute read

Published:

How to get DNS Server for particular adapter on Windows

  1. Retrieve addresses information about adapter through API:GetAdapterAddress(…)
  2. Loop to check whether current pointer points to the adapter specified by verify the attributes like FirstUnicastAddress.
  3. if the pointer points to the specified adapter, FirstDnsServerAddress data member points to the head of the linked list which stores the list of dns server for the specified adapter.

stock

Hikyuu Study

less than 1 minute read

Published:

Hikyuu Project Learning

Stock strategy

1 minute read

Published:

ZGNB Love and Share