|
-
June 6th, 2006, 08:56 PM
#1
recv returning WSAEOPNOTSUPP error
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|