Does SO_ERROR option in SOL_SOCKET level return value stored in so_error variable?
Does so_error also store asynchronous errors(ICMP error replies)?
Shouldn't so_error be reset back to 0 after you fetch its value using getsockopt?I called getsockopt() twice and it didn't reset it to 0 after the first call
In what header is this variable defined?
thank you for your time