How to set the parent socket?

Hey, should i put OnConstruction() in the header file under public or protected?
I don’t know the difference