ISocket.error

Calls getsockopt(SOL_SOCKET, SO_ERROR) to obtain the current error code for this socket.

  1. int error()
    class ISocket
    int
    error
    ()
  2. int error(ISelectable socket)

Return Value

Type: int

the current error code for this socket, which can be 0, or 0 if an error code could not be obtained for this socket.

Meta