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
Since
2.22