trying to get sockets  working