getting basic socket stuff set up