   WinSock2 for Games
  Comments for the article WinSock2 for Games
  Thanks for this good tutorial. Where can I find any tutorial about protocols and can we get the source code ?   ;  Hi, Im starting up with sockets and this tutorial really helped me. Thanks!Just one typo found, at "Accepting a connection:"while (number_of_clients < MAX_CLIENTS) // let MAX_CLIENTS connect{  client[number_of_clients] =  // accept a connection accept (s, client_sock[number_of_clients], &addr_size);   if (client[number_of_clients] == INVALID_SOCKET)  { // error accepting connection    WSACleanup ();    return;  }  else  { // client connected successfully    // start a thread that will communicate with client    startThread (client[number_of_clients]);    number_of_clients++;  }}guess this line may be: accept (s, &client_sock[number_of_clients], &addr_size); 