changed sockets to connect to on the server