Navigation
API > API/Runtime > API/Runtime/Sockets
| Name | EAddressInfoFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/Sockets/Public/AddressInfoTypes.h |
| Include Path | #include "AddressInfoTypes.h" |
Syntax
enum EAddressInfoFlags
{
AllResults = 1 << 0,
NoResolveHost = 1 << 1,
NoResolveService = 1 << 2,
OnlyUsableAddresses = 1 << 3,
BindableAddress = 1 << 4,
CanonicalName = 1 << 5,
FQDomainName = 1 << 6,
AllowV4MappedAddresses = 1 << 7,
AllResultsWithMapping = AllowV4MappedAddresses | AllResults,
Default = 0,
}
Values
| Name | Remarks |
|---|---|
| AllResults | Return all addresses regardless of spec. |
| NoResolveHost | Don't use DNS resolution of the string (AI_NUMERICHOST), this makes the address resolution non-blocking, requiring the hostname to be in the form of an ip address already |
| NoResolveService | Don't resolve the service name (requires the service argument to be nullptr or a string based representation of a number). |
| OnlyUsableAddresses | Only return addresses that adapters on this machine can use (AI_ADDRCONFIG) |
| BindableAddress | Return bindable addresses (AI_PASSIVE). Only works if the hostname argument is null. |
| CanonicalName | Include the canonical name of the host with the results list |
| FQDomainName | Include the fully qualified domain name of the host with the results list |
| AllowV4MappedAddresses | Allow for IPv4 mapped IPv6 addresses |
| AllResultsWithMapping | Get all addresses, but return V4 mapped IPv6 addresses |
| Default | The default value of a hints flag for the platform (typically just 0) |