using iphlpapi library instead of dll