Socket.checkConnectResult

bool checkConnectResult()

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

Returns

true if no error, false otherwise, setting error to the error

Throws