常用window网络API
2011-09-06 09:45
295 查看
AddIPAddress | This function adds the specified IP address to the specified adapter. 给指定的网卡添加指定的IP地址 |
CreateIpForwardEntry | This function creates a route in the local computer's IP routing table. 在本地路由表中创建一个路线 |
CreateIpNetEntry | This function creates an Address Resolution Protocol (ARP) entry in the ARP table on the local computer. 在本地计算机上创建一个地址ARP协议(决议)进入ARP表 |
CreateProxyArpEntry | This function creates a Proxy Address Resolution Protocol (PARP) entry on the local computer for the specified IP address. 在本地计算机上为指定的IP地址创建一个(决议协议PARP)代理地址 |
DeleteIPAddress | Use this function to delete an IP address that was previously added using AddIPAddress. 删除由AddIPAddress影响的东西 |
DeleteIpForwardEntry | This function deletes an existing route in the local computer's IP routing table. 删除由CreateIpForwardEntry影响的东西 |
DeleteIpNetEntry | This function deletes an ARP entry from the ARP table on the local computer. 删除由CreateIpNetEntry影响的东西 |
DeleteProxyArpEntry | This function deletes the PARP entry on the local computer specified by the dwAddress and dwIfIndex parameters. 删除由CreateProxyArpEntry影响的东西 |
FlushIpNetTable | This function deletes all ARP entries for the specified interface from the ARP table on the local computer. 在本地计算机上删除所有ARP作品中指定的接口ARP表 |
GetAdapterIndex | This function obtains the index of an adapter, given its name. 由id获取适配器名字 |
GetAdaptersAddresses | This function retrieves the addresses associated with the adapters on the local computer. 由地址获取适配器 |
GetAdaptersInfo | This function retrieves adapter information for the local computer. This function is deprecated in favor of GetAdaptersAddresses. 获取适配器信息 |
GetBestInterface | This function retrieves the index of the interface that has the best route to the specified IP address. 获取到达指定ip的最优路由路径 |
GetBestInterfaceEx | This function retrieves the index of the interface that has the best route to the specified IP address. 获取到达指定ip的最优路由路径 |
GetBestRoute | This function retrieves the best route to the specified destination IP address. 获取到达指定ip的最优路由 |
GetFriendlyIfIndex | This function takes an interface index and returns a backward-compatible interface index, that is, one that uses only the lower 24 bits. 获取接口指标即backward-compatible,只有用较低的24位。 |
GetIcmpStatistics | This function retrieves the Internet Control Message Protocol (ICMP) statistics for the local computer. 获取本地(ICMP)信息 |
GetIcmpStatisticsEx | This function retrieves the Internet Control Message Protocol (ICMP) statistics for the current computer. 获取本地(ICMP)信息 |
GetIfEntry | This function retrieves information for the specified interface on the local computer. 获取网络接口信息 |
GetIfTable | This function retrieves the MIB-II interface table. 获取网络流量信息 |
GetInterfaceInfo | This function obtains a list of the network interface adapters on the local system. 获得本地网卡信息 |
GetIpAddrTable | This function retrieves the interface–to–IP address mapping table. 获IP映射信息 |
GetIpForwardTable | This function retrieves the IP routing table. 获取IP路由信息 |
GetIpNetTable | This function retrieves the IP-to-physical address mapping table. 获取IP到硬件地址映射信息 |
GetIpStatistics | This function retrieves the IP statistics for the current computer. 获取IP相关信息 |
GetIpStatisticsEx | This function retrieves the Internet Protocol (IP) statistics for the current computer. 获取IP相关信息 |
GetNetworkParams | This function retrieves network parameters for the local computer. 获取本地网络参数 |
GetNumberOfInterfaces | This function retrieves the number of interfaces on the local computer. 获取本地网络接口数量 |
GetPerAdapterInfo | This function retrieves information about the adapter corresponding to the specified interface. 获取接口对应的适配器信息 |
GetRTTAndHopCount | This function determines the round-trip time (RTT) and hop count to the specified destination. 获取到达指定地的往返时间(RTT)和跳跃数 |
GetTcpStatistics | This function retrieves the TCP statistics for the local computer. 获得本地TCP信息 |
GetTcpStatisticsEx | This function retrieves the Transmission Control Protocol (TCP) statistics for the current computer. 获得本地TCP信息 |
GetTcpTable | This function retrieves the TCP connection table. 获取TCP连接映射信息 |
GetUdpStatistics | This function retrieves the User Datagram Protocol (UDP) statistics for the local computer. 获得本地UDP信息 |
GetUdpStatisticsEx | This function retrieves the User Datagram Protocol (UDP) statistics for the current computer. 获得本地UDP信息 |
GetUdpTable | This function retrieves the User Datagram Protocol (UDP) listener table. 获取UDP连接映射信息 |
GetUniDirectionalAdapterInfo | This function retrieves information about the unidirectional adapters installed on the local computer. 获取单项适配器信息 |
IpReleaseAddress | This function releases an IP address previously obtained through Dynamic Host Configuration Protocol (DHCP). 通过动态主机配置协议(DHCP)释放一个之前获得的IP地址 |
IpRenewAddress | This function renews a lease on an IP address previously obtained through Dynamic Host Configuration Protocol (DHCP). 通过动态主机配置协议(DHCP)更新租赁一个之前得到的IP地址 |
NotifyAddrChange | This function causes a notification to be sent to the caller whenever a change occurs in the table that maps IP addresses to interfaces. 指定IP发生改变时获取通知 |
NotifyRouteChange | This function causes a notification to be sent to the caller whenever a change occurs in the IP routing table. 指定IP路由发生改变时获取通知 |
SendARP | This function sends an ARP request to obtain the physical address that corresponds to the specified destination IP address. 向指定IP发起ARP请求得到其对应的物理地址 |
SetIfEntry | This function is used to set the administrative status of an interface. 设置网络接口 |
SetIpForwardEntry | This function modifies an existing route in the local computer's IP routing table. It can also add a new route to the routing table. 为IP设置一个新的路由表 |
SetIpNetEntry | This function modifies an existing ARP entry in the ARP table on the local computer. 设置新的IP和物理地址映射表 |
SetIpStatistics | This function toggles IP forwarding on or off and sets the default time-to-live (TTL) value for the local computer. 切换本地的IP数据包转发开关和设置默认的生存时间(TTL) |
SetIpTTL | This function sets the default time-to-live (TTL) value for the local computer. 设置默认的生存时间(TTL) |
SetTcpEntry | This function sets the state of a TCP connection. 设置TCP连接状态 |
相关文章推荐
- 常用window网络API
- vc socket 多线程 (记录一次自己调用window 底层API编写 vc socket 多线程的服务器网络程序)
- 常用 API 函数(1): 网络函数
- window下常用的网络命令
- Window常用的网络命令
- window常用网络命令
- window常用网络命令
- ExtJs window 使用API以及window常用属性和方法
- window常用网络命令
- window 常用 API
- 常用的几个网络api
- 网络编程--常用API
- 对PopupWindow常用API的简单封装,几行代码就搞定PopupWindow弹窗,使用Builder模式,链式调用,像使用AlertDialog 一样
- 网络编程常用API
- Window编程常用API 函数
- window->注册界面获取API(常用)
- 利用Animatewindow API实现窗口动画效果
- Windows常用网络命令及命令实例详解(上)
- 网络常用端口与协议