Added sockets

had to change rectangle to rect because it would not compile.  Still
dont know why except that it has to do with including winsock2