Alot of stuff had been done.
redone work with sockets
clean up