commented out all sockets stuff