pub unsafe extern "C" fn aws_socket_get_error(
socket: *mut aws_socket
) -> c_int
Expand description
Gets the latest error from the socket. If no error has occurred AWS_OP_SUCCESS will be returned. This function does not raise any errors to the installed error handlers.