a gio.SocketAddress (owned by the caller), or NULL on error (in which case *error will be set) or if there are no more addresses.
GException on failure.