Sockets part for Tic-tac-toe project