Hi,
I would like to use tcp connection to get some data from a client. I tried to use the following:
bytesReceived = recv(client,&CODE,1,MSG_WAITALL);

I figured that the recv will wait until it gets 1 byte before falling through but instead I get the error WSAEOPNOTSUPP. I looked at the msdn website and it seems that MSG_WAITALL would not work for non-blocking function but I thought that recv was a blocking function so what gives. Thanks for the help,
Amish