Get a Socket from the mesh

How would I get a socket I placed on the mesh in c++? I just want to get its location.
Thank you


Mesh->GetSocketLocation(CameraSocket);

Thats how i do it from my Character class where Mesh is your skeletalmeshcomponent and camerasocket is a FName with the socket name

Thank alvarofer0020! You are a gentlemen and a scholar!