Chapter 13

The IP Helper Functions

 

 

 

COMPLETED PROJECT DOWNLOAD

 

What do we have in this chapter?

 

  1. Ipconfig

  2. Releasing and Renewing IPv4 Addresses

  3. Changing IPv4 Addresses

  4. Netstat

  5. Retrieving the TCP Connection Table

  6. Retrieving the UDP Listener Table

  7. Retrieving IPv4 Protocol Statistics

  8. Route

  9. Getting the Routing Table

  10. Adding a Route

  11. Deleting a Route

  12. ARP

  13. Adding an ARP Entry

  14. Deleting an ARP Entry

  15. Sending an ARP Request

  16. Program Examples

  17. ARP Program Example

  18. Changing IP Program Example

  19. IPConfig Program Example

  20. IPConfig for IPv6 Example

  21. DHCP Renew and Release Program Example

  22. Retrieving the IPv4 routing table with GetIpForwardTable() Example

  23. Program Example Using GetIpAddrTable() Function

  24. Program Example Using AddIPAddress() Function

  25. Program Example Using GetAdaptersInfo() Function

  26. Program Example Using GetAdaptersAddresses() Function

  27. Program Example Using GetInterfaceInfo() Function

  28. Program Example Using GetIfEntry() and GetIfTable() Functions

  29. Getting an Interface Table Program Example

  30. Program Example Using SetIpForwardEntry() Function

  31. Program Example Using GetIpInterfaceTable() Function

  32. Getting IP Statistics Program Example

  33. Program Example Using GetTcpTable() Function

 

Summary

 

This chapter introduced the IP Helper APIs in terms of several well-known system utilities. This allows you to easily see how to programmatically obtain useful information from the IPv4 network stack. The IP Helper APIs currently enumerate only IPv4 information except for the new IP Helper API GetAdaptersAddresses(), which obtains IPv6 addressing information.

 

 

 

 

HOME

 

 
Custom Search

< Chap 12: Remote Access Service (RAS) | Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7 | Part 8 | Part 9 | Part 10 | Part 11 | Part 12 | Part 13 | Chap 14: The mailslots >