Trying understand mqtt comands

There is a FAQ post here that should help answer your questions.