I am getting this wierd error:
invalid conversion from `char' to ` char*'
Code:void Recieve(int nBytes, int clientSocket, char inMessage) { while (nBytes){ nBytes = recv(clientSocket, inMessage, sizeof(inMessage), 0); } }
I am getting this wierd error:
invalid conversion from `char' to ` char*'
Code:void Recieve(int nBytes, int clientSocket, char inMessage) { while (nBytes){ nBytes = recv(clientSocket, inMessage, sizeof(inMessage), 0); } }
Keyboard Not Found! Press any key to continue. . .
wtf it posted twice....?
Keyboard Not Found! Press any key to continue. . .
inMessage...second param;
try &inMessage...
if that doesn't work look at the function prototype for recv();