Socket.checkConnectResult

Checks and resets the pending connect error for the socket. This is used to check for errors when 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

Throws

GException on failure.

Meta

Since

2.22