Desktop Functions: Smart Device Functions:
|
Search Results for "SOCKET_ADDRESS" in [All]netapi32
public static extern int DsAddressToSiteNames(string computerName, int entryCount, SOCKET_ADDRESS[] socketAddresses, ref IntPtr siteNames);
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 2: DsGetDcNext [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 |