Other way around, as Socialist ideas predated Marxist. Marx and Engles merely wrote down and codified their opinion of what a socialist world would be, a communist world. Also a Marxist is someone who wants the entire world to have a workers revolt and believes in unavoidable class struggle. A bunny is a mammel, just as marxism is socialist, but you can't reverse the two and it always be right.

Erik