Wrote base client from a windows tutorial. The client connects to the server