removed all of ridwans stupid code
back up and running removed all refs to socket

fixes compile errro