SocketListener.acceptSocketFinish

Finishes an async accept operation. See g_socket_listener_accept_socket_async() Since 2.22

class SocketListener
acceptSocketFinish

Parameters

result AsyncResultIF

a GAsyncResult.

sourceObject ObjectG

Optional GObject identifying this source. out[transfer none][allow-none]

Return Value

Type: Socket

a GSocket on success, NULL on error. [transfer full]

Throws

GException on failure.

Meta