* added some socket stuff