Well, yeah. They differ only on the margins.
"Both socialism and communism are based on the principle that the goods and services produced in an economy should be owned publicly, and controlled and planned by a centralized organization. Socialism asserts that the distribution should take place according to the amount of individuals' production efforts, however, while communism asserts that that goods and services should be distributed among the populace according to individuals' needs." [In socialism, a doctor earns more than a common laborer; under Communism, they earn the pretty much the same.]
A socialist economy has room for small amounts of capitalism; a Communist society does not allow ANY private economic transactions.