Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SOCKET_ADDRESS" in [All]

netapi32

.

public static extern int DsAddressToSiteNames(string computerName, int entryCount, SOCKET_ADDRESS[] socketAddresses, ref IntPtr siteNames);

.
  • socketAddresses: An array of SOCKET_ADDRESS structures that contain the addresses to convert. Each address in this array must be of the type AF_INET. EntryCount contains the number of elements in this array.
.

Prior to calling he DsAddressToSiteNames function, a SOCKET_ADDRESS structure must be created for each address that is to be resolved to a site name. This can be done using the WSAStringToAddress method shown in the sample code.

.

    SOCKET_ADDRESS[] SocketAddresses = new SOCKET_ADDRESS[1];

.

        // Call into WSAStringToAddress to build SOCKET_ADDRESS structure from the address string

.

[out, optional] Pointer to an array of SOCKET_ADDRESS structures that receives the socket address data for the domain controller. SockAddressCount receives the number of elements in this array.

iphlpapi

.

    public struct SOCKET_ADDRESS

.

        public SOCKET_ADDRESS Address;

.

        public SOCKET_ADDRESS Dhcpv4Server;

.

        public SOCKET_ADDRESS Dhcpv6Server;

Structures

.
Summary
The SOCKET_ADDRESS structure stores protocol-specific address information.
.

    public struct SOCKET_ADDRESS

.

Structure SOCKET_ADDRESS

.
Documentation
[SOCKET_ADDRESS] on MSDN

 
Access PInvoke.net directly from VS: