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);
}
}
Printable View
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);
}
}
wtf it posted twice....?
inMessage...second param;
try &inMessage...
if that doesn't work look at the function prototype for recv();