windows网络函数

来源:互联网 发布:焦作公务员网络课程 编辑:程序博客网 时间:2024/06/08 10:24

The following functions are used in Windows networking:

MultinetGetConnectionPerformance
WNetAddConnection2
WNetAddConnection3
WNetCancelConnection
WNetCancelConnection2
WNetCloseEnum
WNetConnectionDialog
WNetConnectionDialog1
WNetDisconnectDialog
WNetDisconnectDialog1
WNetEnumResource
WNetGetConnection
WNetGetLastError
WNetGetNetworkInformation
WNetGetProviderName
WNetGetResourceInformation
WNetGetResourceParent
WNetGetUniversalName
WNetGetUser
WNetOpenEnum
WNetRestoreConnectionW
WNetUseConnection

Obsolete
Functions

The following function is provided only for compatibility with 16-bit versions of Windows:

WNetAddConnection

windows提供了大量的网络辅助函数,如下也为探讨内容:

IP Helper Functions

The following functions retrieve and modify configuration settings for the TCP/IP transport on the local computer. The following categorical listing can help determine which collection of functions is best suited for a given task:

Adapter
Management

  • GetAdapterIndex
  • GetAdaptersAddresses
  • GetAdaptersInfo
  • GetPerAdapterInfo
  • GetUniDirectionalAdapterInfo

Address
Resolution Protocol (ARP) Management

  • CreateIpNetEntry
  • CreateProxyArpEntry
  • DeleteIpNetEntry
  • DeleteProxyArpEntry
  • FlushIpNetTable
  • GetIpNetTable
  • SendARP
  • SetIpNetEntry

Interface
Conversion

  • ConvertInterfaceAliasToLuid
  • ConvertInterfaceGuidToLuid
  • ConvertInterfaceIndexToLuid
  • ConvertInterfaceLuidToAlias
  • ConvertInterfaceLuidToGuid
  • ConvertInterfaceLuidToIndex
  • ConvertInterfaceLuidToNameA
  • ConvertInterfaceLuidToNameW
  • ConvertInterfaceNameToLuidA
  • ConvertInterfaceNameToLuidW
  • if_indextoname
  • if_nametoindex

Interface
Management

  • GetFriendlyIfIndex
  • GetIfEntry
  • GetIfEntry2
  • GetIfStackTable
  • GetIfTable
  • GetIfTable2
  • GetIfTable2Ex
  • GetInterfaceInfo
  • GetInvertedIfStackTable
  • GetIpInterfaceEntry
  • GetIpInterfaceTable
  • GetNumberOfInterfaces
  • InitializeIpInterfaceEntry
  • SetIfEntry
  • SetIpInterfaceEntry

Internet
Protocol (IP) and Internet Control Message Protocol (ICMP)

  • GetIcmpStatistics
  • GetIpStatistics
  • Icmp6CreateFile
  • Icmp6ParseReplies
  • Icmp6SendEcho2
  • IcmpCloseHandle
  • IcmpCreateFile
  • IcmpParseReplies
  • IcmpSendEcho
  • IcmpSendEcho2
  • IcmpSendEcho2Ex
  • SetIpTTL

IP
Address Management

  • AddIPAddress
  • CreateAnycastIpAddressEntry
  • CreateUnicastIpAddressEntry
  • DeleteIPAddress
  • DeleteAnycastIpAddressEntry
  • DeleteUnicastIpAddressEntry
  • GetAnycastIpAddressEntry
  • GetAnycastIpAddressTable
  • GetIpAddrTable
  • GetMulticastIpAddressEntry
  • GetMulticastIpAddressTable
  • GetUnicastIpAddressEntry
  • GetUnicastIpAddressTable
  • InitializeUnicastIpAddressEntry
  • IpReleaseAddress
  • IpRenewAddress
  • NotifyStableUnicastIpAddressTable
  • SetUnicastIpAddressEntry

IP
Address String Conversion

  • RtlIpv4AddressToString
  • RtlIpv4AddressToStringEx
  • RtlIpv4StringToAddress
  • RtlIpv4StringToAddressEx
  • RtlIpv6AddressToString
  • RtlIpv6AddressToStringEx
  • RtlIpv6StringToAddress
  • RtlIpv6StringToAddressEx

IP
Neighbor Address Management

  • CreateIpNetEntry2
  • DeleteIpNetEntry2
  • FlushIpNetTable2
  • GetIpNetEntry2
  • GetIpNetTable2
  • ResolveIpNetEntry2
  • ResolveNeighbor
  • SetIpNetEntry2

IP
Path Management

  • FlushIpPathTable
  • GetIpPathEntry
  • GetIpPathTable

IP
Route Management

  • CreateIpForwardEntry
  • CreateIpForwardEntry2
  • DeleteIpForwardEntry
  • DeleteIpForwardEntry2
  • EnableRouter
  • GetBestInterface
  • GetBestInterfaceEx
  • GetBestRoute
  • GetBestRoute2
  • GetIpForwardEntry2
  • GetIpForwardTable
  • GetIpForwardTable2
  • GetRTTAndHopCount
  • InitializeIpForwardEntry
  • SetIpForwardEntry
  • SetIpForwardEntry2
  • SetIpStatistics
  • SetIpStatisticsEx
  • UnenableRouter

IP
Table Memory Management

  • FreeMibTable

IP
Utility

  • ConvertIpv4MaskToLength
  • ConvertLengthToIpv4Mask
  • CreateSortedAddressPairs
  • ParseNetworkString

Network
Configuration

  • GetNetworkParams

Notification

  • CancelMibChangeNotify2
  • NotifyAddrChange
0 0
原创粉丝点击