Socket basics