在ATEASY开发环境中使用Winsock(TCP/IP)函数
Using Winsock (TCP/IP) functions in ATEASY development enviroment
我正在使用 ATEasy
框架的 WsReceive()
功能,想问一下值 "aioDefault
的含义是什么
和“enMode
”参数的 aioDisableWsReceiveEarlyReturn
”?
我在 ATEASY 文档中找到了这个:
If enMode, input receive mode includes aioDisableWsReceiveEarlyReturn,
it prevents WsReceive from an "early return" when there is a momentary
interruption in the data being received.
这是来自 ateasy 的在线帮助(来自 ateasy 论坛的专家提示):
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.
我正在使用 ATEasy
框架的 WsReceive()
功能,想问一下值 "aioDefault
的含义是什么
和“enMode
”参数的 aioDisableWsReceiveEarlyReturn
”?
我在 ATEASY 文档中找到了这个:
If enMode, input receive mode includes aioDisableWsReceiveEarlyReturn, it prevents WsReceive from an "early return" when there is a momentary interruption in the data being received.
这是来自 ateasy 的在线帮助(来自 ateasy 论坛的专家提示):
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.