class Net::SCP

def await_response(channel, next_state)

at +next_state+ and continue processing.
#await_response_state), at which point the state machine will pick up
things just pause until the server replies with a 0 (see
Causes the state machine to enter the "await response" state, where
def await_response(channel, next_state)
  channel[:state] = :await_response
  channel[:next ] = next_state.to_sym
  # check right away, to see if the response is immediately available
  await_response_state(channel)
end