Socket.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.

class Socket
bool
checkConnectResult
()

Return Value

Type: bool

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