Attach actor C++ class with it's mesh to socket with c++

I recommend you first prototype and try different AttachTo nodes in Blueprint. Once you get the logic right then you can transfer code easily to c++