SO_ERROR top-level constant
int
const SO_ERROR
Returns the last error code on this socket. This per-socket error code is not always immediately set.
Implementation
const SO_ERROR = 0x1007;