日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

Windows网络接口API函数

發(fā)布時間:2023/12/13 windows 19 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Windows网络接口API函数 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Windows提供了一套非常輕量級的網絡函數,方便進行網絡應用開發(fā),整理出來供參考使用。

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
  • NotifyIpInterfaceChange
  • NotifyRouteChange
  • NotifyRouteChange2
  • NotifyUnicastIpAddressChange

Persistent Port Reservarion

  • CreatePersistentTcpPortReservation
  • CreatePersistentUdpPortReservation
  • DeletePersistentTcpPortReservation
  • DeletePersistentUdpPortReservation
  • LookupPersistentTcpPortReservation
  • LookupPersistentUdpPortReservation

Security Health

  • CancelSecurityHealthChangeNotify
  • NotifySecurityHealthChange

These functions are defined only on Windows Server?2003.

Note??These functions are not available Windows?Vista and Windows Server?2008.

Teredo IPv6 Client Management

  • GetTeredoPort
  • NotifyTeredoPortChange
  • NotifyStableUnicastIpAddressTable

Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)

  • GetExtendedTcpTable
  • GetExtendedUdpTable
  • GetOwnerModuleFromTcp6Entry
  • GetOwnerModuleFromTcpEntry
  • GetOwnerModuleFromUdp6Entry
  • GetOwnerModuleFromUdpEntry
  • GetPerTcp6ConnectionEStats
  • GetPerTcpConnectionEStats
  • GetTcpStatistics
  • GetTcpStatisticsEx
  • GetTcp6Table
  • GetTcp6Table2
  • GetTcpTable
  • GetTcpTable2
  • SetPerTcp6ConnectionEStats
  • SetPerTcpConnectionEStats
  • SetTcpEntry
  • GetUdp6Table
  • GetUdpStatistics
  • GetUdpStatisticsEx
  • GetUdpTable

Deprecated APIs

Note??These functions are deprecated and not supported by Microsoft.

  • AllocateAndGetTcpExTableFromStack
  • AllocateAndGetUdpExTableFromStack

?

?

轉載于:https://www.cnblogs.com/MakeView660/p/8663025.html

總結

以上是生活随笔為你收集整理的Windows网络接口API函数的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。