Choose an action.
open connection
send data