Winsock WsReceive(...) function

Raz A.
Haifa,

Apr 10, 2018
82 Posts

0  |  0  

Re: Winsock WsReceive(...) function

I am using WsReceive() function and i wanted to ask what is the meaning of the values "aioDefault
and aioDisableWsReceiveEarlyReturn" of  "enMode" parameter?

Solution Available
DrATEasy (Ron Y.)
Mission Viejo, CA

Apr 12, 2018
358 Posts

1  |  0  

Re: Winsock WsReceive(...) function

See the online help for the WsReceive() :

"If sEos parameter is an empty string and aioDisableWsReceiveEarlyReturn mode flag is not used (default case), the function will return immediately if characters are  found in the input buffer, and the timeout will be ignored. Using the aioDisableWsReceiveEarlyReturn flag will ensure that the function will return only if the timeout is reached or all lBytes characters were received."



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]