And a beer

Maby if I can fix this next problem

Figure this one out:
//read up to 1024 bytes into tempBuffer
bytesRecvd = recv(tempSocket,tempBuffer,512,0);
//if there was an error or no bytes were received (connection closed)
if(WSAGetLastError() != 0 || bytesRecvd < 1){
printf("client disconnected: %d/%d\n",bytesRecvd,WSAGetLastError());
//remove the client
removeClient(tempItMapClient);
continue; //continue looping through the fd_set
}
- //read up to 1024 bytes into tempBuffer
- bytesRecvd = recv(tempSocket,tempBuffer,512,0);
- //if there was an error or no bytes were received (connection closed)
- if(WSAGetLastError() != 0 || bytesRecvd < 1){
- printf("client disconnected: %d/%d\n",bytesRecvd,WSAGetLastError());
- //remove the client
- removeClient(tempItMapClient);
- continue; //continue looping through the fd_set
- }
And now look at this screenshot.....

As soon as any client sends even 1 byte to the server they are disconnected.
The first join attempt is my client app (which sends PING when it can) and the 2nd is me pointing chrome to localhost:272727
Line 5 in the above snippet CANNOT possibly print "client disconnected: N/0" in any way, shape or form!
Also, I am printing winsock information from wsData after WSAStartup(
MAKEWORD(2, 2), &wsData) but why does it say winsock 2.0 instead of 2.2?
What
