what is the pin connectors called that is used on through hole pcb with space above for swappable microcontrollers (or other devices)?
sounds like some sort of IC socket 

ordinary flat pin


or perhaps machined pin:
 

But sometimes a lever-operated zero insertion force socket is used