:sad:
Codes:
if (sock!=INVALID_SOCKET)
{
if(send(sock,s,(int)strlen(s),0)==SOCKET_ERROR)
{
WSAGetLastError();
}
}
s is a char pointer pointing to the very first memory location of the data string.
While in debugging mode, there was no error from WSAGetLastError(), but the data string was not displayed in the server.
Why?
Thanks