Networking & Internet APIs
Overview
This section provides comprehensive documentation for Windows APIs related to networking and internet connectivity. Explore the interfaces, functions, and structures that enable robust network communication, from low-level socket programming to high-level web services integration.
Key API Categories
Low-level socket interface for reliable and unstructured data transmission.
Kernel-mode socket interface for drivers and network filter components.
High-level API for applications to access Internet resources, supporting HTTP, FTP, and Gopher protocols.
Enables kernel-mode network drivers to provide network functionality to user-mode applications.
APIs for enumerating network connections, getting network status, and managing network profiles.
Provides functions for retrieving and modifying IP routing, network configuration, and statistical information.
Featured Topics
Learn best practices for developing TCP/IP client and server applications.
Detailed examples of sending GET and POST requests.
Implementing notifications for network connectivity events.
Commonly Used Functions
Creates a socket that is bound to a specific transport service provider.
SOCKET socket(
[in] int af,
[in] int type,
[in] int protocol
);
Initializes an application's use of the WinINet functions.
HINTERNET InternetOpen(
[in] LPCTSTR lpszAgent,
[in] DWORD dwAccessType,
[in, optional] LPCTSTR lpszProxy,
[in, optional] LPCTSTR lpszHost,
[in] DWORD dwFlags
);
Retrieves detailed information about the network adapters installed on the local computer.
ULONG GetAdaptersInfo(
[out] PIP_ADAPTER_INFO AdapterInfo,
[in, out] PULONG SizePointer
);