NetworkService
open class NetworkService(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketConnectable
Like #GNetworkAddress does with hostnames, #GNetworkService provides an easy way to resolve a SRV record, and then attempt to connect to one of the hosts that implements that service, handling service priority/weighting, multiple IP addresses, and multiple address families.
See #GSrvTarget for more information about SRV records, and see #GSocketConnectable for an example of using the connectable interface.
Properties
Link copied to clipboard
Link copied to clipboard
open override val gioSocketConnectablePointer: <Error class: unknown class><<Error class: unknown class>>
Functions
Link copied to clipboard
Creates a #GSocketAddressEnumerator for @connectable.
Link copied to clipboard
Gets @srv's protocol name (eg, "tcp").
Link copied to clipboard
Gets @srv's service name (eg, "ldap").
Link copied to clipboard
Creates a #GSocketAddressEnumerator for @connectable that will return a #GProxyAddress for each of its addresses that you must connect to via a proxy.