AddressInfoFlags

A subset of flags supported on all platforms with getaddrinfo. Specifies option flags for getAddressInfo.

Values

ValueMeaning
PASSIVEAI_PASSIVE

The resulting addresses will be used in a call to Socket.bind.

CANONNAMEAI_CANONNAME

The canonical name is returned in canonicalName member in the first AddressInfo.

NUMERICHOSTAI_NUMERICHOST

The node parameter passed to getAddressInfo must be a numeric string. This will suppress any potentially lengthy network host address lookups.

Meta