next_async


Description:

public virtual async SocketAddress next_async (Cancellable? cancellable = null) throws Error

Asynchronously retrieves the next SocketAddress from this and then calls callback, which must call next_async.end to get the result.

Parameters:

this

a SocketAddressEnumerator

cancellable

optional Cancellable object, null to ignore.

callback

a AsyncReadyCallback to call when the request is satisfied

user_data

the data to pass to callback function