Objects that describe one or more potential socket endpoints implement GSocketConnectable Callers can then use Socket.connectableEnumerate to get a gio.SocketAddressEnumerator to try out each socket address in turn until one succeeds, as shown in the sample code below.
Undocumented in source.