Socket.checkConnectResult

Checks and resets the pending connect error for the socket. This is used to check for errors when g_socket_connect() is used in non-blocking mode.

Return: %TRUE if no error, %FALSE otherwise, setting @error to the error

class Socket
bool
checkConnectResult
()

Throws

GException on failure.

Meta

Since

2.22