Gio.Socket.prototype.check_connect_result
function check_connect_result(): Boolean { // Gjs wrapper for g_socket_check_connect_result() }
Checks and resets the pending connect error for the socket. This is used to check for errors when Gio.Socket.prototype.connect is used in non-blocking mode.
Since 2.22
- Returns
true if no error, false otherwise, setting @error to the error