The "something wrong" would appear to be that you don't yet know enough about programming, and all you're doing is copy/pasting likely looking snippets from wherever in the hope that it'll either...
Type: Posts; User: Salem
The "something wrong" would appear to be that you don't yet know enough about programming, and all you're doing is copy/pasting likely looking snippets from wherever in the hope that it'll either...
static char buff[MAX_SIZE];
static size_t buffUsed = 0;
static size_t buffFree = MAX_SIZE;
static int imageReceived = 0;
///
case WM_SOCKET:
{
switch(WSAGETSELECTEVENT(lParam))
> chIncomingDataBuffer[iEnd] = '\0';
> if (lstrlen(chIncomingDataBuffer) != 0)
Well, treating binary image data as a string for one thing is wrong.
2, as in your previous threads,...